getConnectedUAVUnit: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Killzone Kid (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.08 | |version1= 2.08 | ||
|arg= local | |||
|gr1= Remote Control | |gr1= Remote Control | ||
Line 12: | Line 12: | ||
|p1= person: [[Object]] - unit controlling the UAV/UGV | |p1= person: [[Object]] - unit controlling the UAV/UGV | ||
|r1= [[Object]] - UAV unit (AI driver or AI gunner) | |r1= [[Object]] - UAV unit (AI driver or AI gunner) or [[objNull]] otherwise including if the connected person is remote | ||
|x1= <sqf>private _playersDrone = getConnectedUAVUnit player;</sqf> | |x1= <sqf>private _playersDrone = getConnectedUAVUnit player;</sqf> |
Latest revision as of 21:23, 25 March 2024
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) or objNull otherwise including if the connected person is remote
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