isUAVConnectable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Command Group: Remote Control" to "")
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

Hover & click on the images for description

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

See also:
enableUAVConnectabilitydisableUAVConnectability

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

Notes

Bottom Section