fleeing: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (changed global to local variable to make clear the variable)
mNo edit summary
Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
|[[allowFleeing]]|= See also


}}
}}
Line 30: Line 30:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on 20:12, 19 March 2007 (CET)</dd>
<dt class="note>'''[[User:Shuko|Shuko]]'''</dt><dd class="note">
To prevent units from fleeing, use [[allowFleeing]].</dd>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 01:42, 11 January 2008

Hover & click on the images for description

Description

Description:
Checks if a unit is fleeing.
Groups:
Uncategorised

Syntax

Syntax:
Boolean = fleeing Unit
Parameters:
Unit
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