fleeing: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
|arg= global |= Arguments in MP | |||
|eff= global |= Effects in MP | |||
____________________________________________________________________________________________ | |||
| Checks if a unit is fleeing. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''fleeing''' unit |= Syntax | ||
[[ | |p1= unit: [[Object]] |= Parameter 1 | ||
| [[Boolean]] - | |||
Returns true if a unit is fleeing, false if not. Dead or empty units return false. |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>? (fleeing east_unit) : player sideChat "We have won!"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|FLEEING]] | |||
[[Category:Scripting Commands OFP 1.96|FLEEING]] | |||
[[Category:Scripting Commands OFP 1.46|FLEEING]] | |||
[[Category:Scripting Commands ArmA|FLEEING]] |
Revision as of 00:13, 2 August 2006
Description
- Description:
- Checks if a unit is fleeing.
- Groups:
- Uncategorised
Syntax
- Syntax:
- fleeing unit
- Parameters:
- unit: 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:
- See also needed
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