isUAVConnectable: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| object | | object [[isUAVConnectable]] [uav, checkAllItems] |SYNTAX= | ||
|p1= object: [[Object]] |PARAMETER1= | |p1= object: [[Object]] |PARAMETER1= | ||
|p2= [ | |p2= uav: [[Object]] or [[Array]] |PARAMETER2= | ||
|p3= | |p3= checkAllItems: [[Boolean]] - [[true]] to check all terminals in unit's inventory, [[false]] to only check assigned terminal. |PARAMETER3= | ||
| [[Boolean]] |RETURNVALUE= | | [[Boolean]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code> | |x1= <code>[[private]] _canConnect = myUnit [[isUAVConnectable]] [myUav, [[true]]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[enableUAVConnectability]], [[disableUAVConnectability]] |SEEALSO= | | [[enableUAVConnectability]], [[disableUAVConnectability]] |SEEALSO= | ||
}} | }} | ||
Line 41: | Line 38: | ||
[[Category: | [[Category:Command Group: Remote Control]] | ||
Revision as of 11:35, 6 August 2020
Description
- Description:
- Returns true if UAV is connectable by AV terminal(s).
- Groups:
- Uncategorised
Syntax
- Syntax:
- object isUAVConnectable [uav, checkAllItems]
- Parameters:
- object: Object
- uav: Object or Array
- checkAllItems: Boolean - true to check all terminals in unit's inventory, false to only check assigned terminal.
- Return Value:
- Boolean
Examples
- Example 1:
private _canConnect = myUnit isUAVConnectable [myUav, 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