unitIsUAV: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command|= " to "{{Command|Comments= ")
m (Text replacement - "Bool" to "Boolean")
Line 18: Line 18:
|p1= unit: [[Object]] |PARAMETER1=
|p1= unit: [[Object]] |PARAMETER1=


| [[Bool]] - [[true]] when UAV |RETURNVALUE=
| [[Boolean]] - [[true]] when UAV |RETURNVALUE=


|x1= _isUAV = [[unitIsUAV]] veh; |EXAMPLE1=
|x1= _isUAV = [[unitIsUAV]] veh; |EXAMPLE1=

Revision as of 01:16, 24 August 2020

Hover & click on the images for description

Description

Description:
Returns true if the unit type is UAV - coresponding to transport param "isUAV"
Groups:
Uncategorised

Syntax

Syntax:
unitIsUAV unit
Parameters:
unit: Object
Return Value:
Boolean - true when UAV

Examples

Example 1:
_isUAV = unitIsUAV veh;

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

Bottom Section