unitIsUAV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma3
|game1= arma3


|1.64
|version1= 1.64
 
|arg=
 
|eff=


|gr1= Remote Control
|gr1= Remote Control


| Returns true if the unit type is UAV - coresponding to transport param "isUAV"
|descr= Returns true if the object type is UAV - corresponding to transport parameter <tt>isUAV</tt>.


| [[unitIsUAV]] unit
|s1= [[unitIsUAV]] object


|p1= unit: [[Object]]
|p1= object: [[Object]]


| [[Boolean]] - [[true]] when UAV
|r1= [[Boolean]] - [[true|True]] when UAV


|x1= _isUAV = [[unitIsUAV]] veh;
|x1= <code>_isUAV = [[unitIsUAV]] _vehicle;</code>


|seealso= [[allUnitsUAV]]
|seealso= [[allUnitsUAV]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 00:50, 23 April 2021

Hover & click on the images for description

Description

Description:
Returns true if the object type is UAV - corresponding to transport parameter isUAV.
Groups:
Remote Control

Syntax

Syntax:
unitIsUAV object
Parameters:
object: Object
Return Value:
Boolean - True when UAV

Examples

Example 1:
_isUAV = unitIsUAV _vehicle;

Additional Information

See also:
allUnitsUAV

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