allowFleeing: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Set the courage of the group or unit. The less courage a group or unit has, the sooner it will start fleeing. |= Description | | Set the courage of the group or unit. | ||
The less courage a group or unit has, the sooner it will start fleeing. | |||
0 means maximum courage, while 1 means always fleeing. |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 18: | Line 22: | ||
|p1= unit: [[Object]] or [[Group]] |= Parameter 1 | |p1= unit: [[Object]] or [[Group]] |= Parameter 1 | ||
|p2= courage: [[Number]] | |p2= courage: [[Number]] |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value |
Revision as of 02:35, 3 February 2007
Description
- Description:
- Set the courage of the group or unit. The less courage a group or unit has, the sooner it will start fleeing. 0 means maximum courage, while 1 means always fleeing.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit allowFleeing courage
- Parameters:
- unit: Object or Group
- courage: Number
- 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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Unit Control