getConnectedUAV: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
Lou Montana (talk | contribs) |
||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|0.76| | |0.76|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns UAV if unit has connection to some UAV. | | Returns UAV if unit has connection to some UAV. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[getConnectedUAV]] unit |SYNTAX= | ||
|p1= unit: [[Object]] |PARAMETER1= | |p1= unit: [[Object]] |PARAMETER1= | ||
| [[Object]] |RETURNVALUE= | | [[Object]] - the UAV. [[objNull]] if no UAV is connected. |RETURNVALUE= | ||
|x1= <code>[[getConnectedUAV]] [[player]];</code>|EXAMPLE1= | |||
|x1= <code> | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[showUAVFeed]] [[shownUAVFeed]] [[allUnitsUAV]] [[UAVControl]] [[connectTerminalToUAV]] [[isUAVConnected]] |SEEALSO= | | [[showUAVFeed]] [[shownUAVFeed]] [[allUnitsUAV]] [[UAVControl]] [[connectTerminalToUAV]] [[isUAVConnected]] |SEEALSO= | ||
| | | |MPBEHAVIOUR= | ||
}} | }} | ||
Line 39: | Line 36: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command Group: Remote Control]] |
Revision as of 19:18, 7 April 2019
Description
- Description:
- Returns UAV if unit has connection to some UAV.
- Groups:
- Uncategorised
Syntax
- Syntax:
- getConnectedUAV unit
- Parameters:
- unit: Object
- Return Value:
- Object - the UAV. objNull if no UAV is connected.
Examples
- Example 1:
getConnectedUAV player;
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