isUAVConnectable: Difference between revisions
Jump to navigation
Jump to search
m (example format) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns true if UAV is connectable by AV terminal(s). |= | | Returns true if UAV is connectable by AV terminal(s). |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| object '''isUAVConnectable''' [uav, checkAllItems] |= | | object '''isUAVConnectable''' [uav, checkAllItems] |SYNTAX= | ||
|p1= object: [[Object]] |= | |p1= object: [[Object]] |PARAMETER1= | ||
|p2= [uav, checkAllItems]: [[Array]] |= | |p2= [uav, checkAllItems]: [[Array]] |PARAMETER2= | ||
|p3= uav: [[Object]] or [[Array]] |= | |p3= uav: [[Object]] or [[Array]] |PARAMETER3= | ||
|p4= checkAllItems: [[Boolean]] - True for check of all items in unit's inventory, false for check of items assigned to proper slot only. |= | |p4= checkAllItems: [[Boolean]] - True for check of all items in unit's inventory, false for check of items assigned to proper slot only. |PARAMETER4= | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>connectable = unit [[isUAVConnectable]] [uav,true];</code> |= | |x1= <code>connectable = unit [[isUAVConnectable]] [uav,true];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[enableUAVConnectability]], [[disableUAVConnectability]] |= | | [[enableUAVConnectability]], [[disableUAVConnectability]] |SEEALSO= | ||
}} | }} |
Revision as of 14:42, 7 April 2019
Description
- Description:
- Returns true if UAV is connectable by AV terminal(s).
- Groups:
- Uncategorised
Syntax
- Syntax:
- object isUAVConnectable [uav, checkAllItems]
- Parameters:
- object: Object
- [uav, checkAllItems]: Array
- uav: Object or Array
- checkAllItems: Boolean - True for check of all items in unit's inventory, false for check of items assigned to proper slot only.
- Return Value:
- Boolean
Examples
- Example 1:
connectable = unit isUAVConnectable [uav,true];
Additional Information
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