isUAVConnectable: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "Category:Command Group: Remote Control" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Remote Control |GROUP1= | |gr1= Remote Control |GROUP1= | ||
| Returns true if UAV is connectable by AV terminal(s). |DESCRIPTION= | | Returns true if UAV is connectable by AV terminal(s). |DESCRIPTION= | ||
| object [[isUAVConnectable]] [uav, checkAllItems] |SYNTAX= | | object [[isUAVConnectable]] [uav, checkAllItems] |SYNTAX= | ||
Line 21: | Line 18: | ||
| [[Boolean]] |RETURNVALUE= | | [[Boolean]] |RETURNVALUE= | ||
|x1= <code>[[private]] _canConnect = myUnit [[isUAVConnectable]] [myUav, [[true]]];</code> |EXAMPLE1= | |x1= <code>[[private]] _canConnect = myUnit [[isUAVConnectable]] [myUav, [[true]]];</code> |EXAMPLE1= | ||
| [[enableUAVConnectability]], [[disableUAVConnectability]] |SEEALSO= | | [[enableUAVConnectability]], [[disableUAVConnectability]] |SEEALSO= |
Revision as of 01:37, 17 January 2021
Description
- Description:
- Returns true if UAV is connectable by AV terminal(s).
- Groups:
- Remote Control
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