allowFleeing: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
(formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| ofp | |game1= ofp | ||
|1.00 | |version1= 1.00 | ||
|game2= arma1 | |||
|version2= 1.00 | |||
|game3= arma2 | |||
|version3= 1.00 | |||
|game4= arma2oa | |||
|version4= 1.51 | |||
|game5= tkoh | |||
|version5= 1.00 | |||
|game6= arma3 | |||
|version6= 0.50 | |||
|arg= local | |arg= local | ||
Line 13: | Line 33: | ||
|gr2= Groups | |gr2= Groups | ||
| Sets the cowardice level (the lack of courage or bravery) of a group or unit. | |descr= Sets the cowardice level (the lack of courage or bravery) of a group or unit. | ||
<br><br> | <br><br> | ||
Notes: | Notes: | ||
Line 20: | Line 40: | ||
* More details in [[fleeing]] | * More details in [[fleeing]] | ||
| | |s1= unitOrGroup '''allowFleeing''' cowardice | ||
|p1= | |p1= unitOrGroup: [[Object]] or [[Group]] | ||
|p2= cowardice: [[Number]] | |p2= cowardice: [[Number]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>_group1 [[allowFleeing]] 0;</code> | |x1= <code>_group1 [[allowFleeing]] 0;</code> | ||
Line 32: | Line 52: | ||
|seealso= [[fleeing]] | |seealso= [[fleeing]] | ||
}} | }} | ||
Revision as of 09:22, 8 March 2021
Description
- Description:
- Sets the cowardice level (the lack of courage or bravery) of a group or unit.
Notes: - Groups:
- Object ManipulationGroups
Syntax
- Syntax:
- unitOrGroup allowFleeing cowardice
- Parameters:
- unitOrGroup: Object or Group
- cowardice: Number
- Return Value:
- Nothing
Examples
- Example 1:
_group1 allowFleeing 0;
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Object Manipulation
- Command Group: Groups
- Scripting Commands: Global Effect