fleeing: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
No edit summary |
||
Line 43: | Line 43: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on December 31, 2019 - 08:56 (UTC)</dd> | |||
<dt class="note">[[User:.kju|.kju]]</dt> | |||
<dd class="note"> | |||
Fleeing units in [[combatMode]] red, will be set to yellow when fleeing to avoid engaging enemies while doing so. | |||
The group leader will be set to green, to avoid giving engage or fire orders, unless in [[combatMode]] blue already. | |||
Finally [[speedMode]] is set to full. | |||
<br><br> | |||
When reaching their flee point/destination, they will change to [[combatMode]] yellow and [[speedMode]] normal. | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 09:56, 31 December 2019
Description
- Description:
- Checks if a unit is fleeing.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Boolean = fleeing unitName
- Parameters:
- unitName: Object
- Return Value:
- Boolean - Returns true if a unit is fleeing, false if not. Dead or empty units return false.
Examples
- Example 1:
? (fleeing _east_unit) : player sideChat "We have won!"
Additional Information
- See also:
- allowFleeing
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
- Posted on December 31, 2019 - 08:56 (UTC)
- .kju
-
Fleeing units in combatMode red, will be set to yellow when fleeing to avoid engaging enemies while doing so.
The group leader will be set to green, to avoid giving engage or fire orders, unless in combatMode blue already.
Finally speedMode is set to full.
When reaching their flee point/destination, they will change to combatMode yellow and speedMode normal.
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Object Information
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters