fleeing: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> '''fleeing''' [[Object#Unit|Unit]] |= Syntax
| [[Boolean]] <nowiki>=</nowiki> '''fleeing''' unitName |= Syntax


|p1= [[Object#Unit|Unit]] |= Parameter 1
|p1= unitName: [[Object]] |= Parameter 1


| [[Boolean]] -   
| [[Boolean]] -   

Revision as of 00:11, 23 January 2009

Hover & click on the images for description

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