unitReady: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|UNITREADY]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|UNITREADY]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|UNITREADY]]
[[Category:Scripting Commands ArmA|UNITREADY]]


| ofp |= Game name


<h2 style="color:#000066">'''unitReady''' ''unit'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Check if the unit is ready. Unit is busy when it is given some command like [[move]], until the command is finished. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''unitReady''' |= Syntax


'''unit:''' [[Object]] or [[Array]]
|p1= unit: [[Object]] |= Parameter 1


'''Type of returned value:'''
| [[Boolean]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_it = unitReady soldierOne</pre> |= Example 1
____________________________________________________________________________________________


[[Boolean]]
|  |= See also


'''Description:'''
}}


Check if the unit is ready.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Unit is busy when it is given some command like [[move]], until the command is finished.
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>


'''Example:'''
[[Category:Scripting Commands|UNITREADY]]
 
[[Category:Scripting Commands OFP 1.96|UNITREADY]]
_it = '''unitReady''' soldierOne
[[Category:Scripting Commands OFP 1.46|UNITREADY]]
[[Category:Scripting Commands ArmA|UNITREADY]]

Revision as of 22:56, 1 August 2006

Hover & click on the images for description

Description

Description:
Check if the unit is ready. Unit is busy when it is given some command like move, until the command is finished.
Groups:
Uncategorised

Syntax

Syntax:
unitReady
Parameters:
unit: Object
Return Value:
Boolean

Examples

Example 1:
_it = unitReady soldierOne

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

Notes

Bottom Section