fleeing: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Checks if a unit is fleeing. |= Description
| Checks if a unit is fleeing. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> '''fleeing''' unitName |= Syntax
| [[Boolean]] <nowiki>=</nowiki> '''fleeing''' unitName |SYNTAX=


|p1= unitName: [[Object]] |= Parameter 1
|p1= unitName: [[Object]] |PARAMETER1=


| [[Boolean]] -   
| [[Boolean]] -   
Returns true if a unit is fleeing, false if not. Dead or empty units return false. |= Return value
Returns true if a unit is fleeing, false if not. Dead or empty units return false. |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>? (fleeing _east_unit) : player sideChat "We have won!"</pre> |= Example 1
|x1= <pre>? (fleeing _east_unit) : player sideChat "We have won!"</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}

Revision as of 14:39, 7 April 2019

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