allowFleeing: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 43: Line 43:
[[Category:Scripting Commands OFP 1.46|ALLOWFLEEING]]
[[Category:Scripting Commands OFP 1.46|ALLOWFLEEING]]
[[Category:Scripting Commands ArmA|ALLOWFLEEING]]
[[Category:Scripting Commands ArmA|ALLOWFLEEING]]
[[Category:Command_Group:_Object_Manipulation]]
[[Category:Command_Group:_Unit_Control]]

Revision as of 20:47, 9 August 2006

Hover & click on the images for description

Description

Description:
Set the courage of the group or unit. The less courage a group or unit has, the sooner it will start fleeing.
Groups:
Uncategorised

Syntax

Syntax:
unit allowFleeing courage
Parameters:
unit: Object or Group
courage: Number - range 0 (maximum courage) to 1 (minimum courage)
Return Value:
Nothing

Examples

Example 1:
group1 allowFleeing 1

Additional Information

See also:
fleeing

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section