fleeing: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Boolean]] <nowiki>=</nowiki> '''fleeing''' | | [[Boolean]] <nowiki>=</nowiki> '''fleeing''' unitName |= Syntax | ||
|p1= [[Object | |p1= unitName: [[Object]] |= Parameter 1 | ||
| [[Boolean]] - | | [[Boolean]] - |
Revision as of 23:11, 22 January 2009
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