getConnectedUAVUnit: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|branch= dev " to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.08 | |version1= 2.08 | ||
|gr1= Remote Control | |gr1= Remote Control | ||
Line 9: | Line 10: | ||
|s1= [[getConnectedUAVUnit]] person | |s1= [[getConnectedUAVUnit]] person | ||
|p1= person: [[Object]] - | |p1= person: [[Object]] - unit controlling the UAV/UGV | ||
|r1= [[Object]] - UAV unit (AI driver or AI gunner), [[objNull]] otherwise | |r1= [[Object]] - UAV unit (AI driver or AI gunner), [[objNull]] otherwise | ||
|x1= < | |x1= <sqf>private _playersDrone = getConnectedUAVUnit player;</sqf> | ||
|seealso= [[getConnectedUAV]] [[isUAVConnected]] | |seealso= [[getConnectedUAV]] [[isUAVConnected]] | ||
}} | }} |
Revision as of 12:43, 3 May 2022
Description
- Description:
- Returns UAV/UGV AI unit, which player is controlling. To return UAV vehicle, see getConnectedUAV
- Groups:
- Remote Control
Syntax
- Syntax:
- getConnectedUAVUnit person
- Parameters:
- person: Object - unit controlling the UAV/UGV
- Return Value:
- Object - UAV unit (AI driver or AI gunner), objNull otherwise
Examples
- Example 1:
Additional Information
- See also:
- getConnectedUAV isUAVConnected
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