getConnectedUAV: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
|gr1= Remote Control | |gr1= Remote Control | ||
|descr= Returns UAV if | |descr= Returns UAV/UGV if person has connection to some UAV. To return the AI unit which player controls, see [[getConnectedUAVUnit]]. | ||
|s1= [[getConnectedUAV]] | |s1= [[getConnectedUAV]] person | ||
|p1= | |p1= person: [[Object]] - player controlling UAV/UGV | ||
|r1= [[Object]] - the UAV. [[objNull]] if no UAV is connected. | |r1= [[Object]] - the UAV/UGV. [[objNull]] if no UAV is connected. | ||
|x1= <code>[[getConnectedUAV]] [[player]];</code> | |x1= <code>[[getConnectedUAV]] [[player]];</code> |
Revision as of 20:14, 10 September 2021
Description
- Description:
- Returns UAV/UGV if person has connection to some UAV. To return the AI unit which player controls, see getConnectedUAVUnit.
- Groups:
- Remote Control
Syntax
- Syntax:
- getConnectedUAV person
- Parameters:
- person: Object - player controlling UAV/UGV
- Return Value:
- Object - the UAV/UGV. 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