remoteControlled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
|p1= unit: [[Object]] - unit under remote control
|p1= unit: [[Object]] - unit under remote control


|r1= [[Object]] - the person controlling the unit
|r1= [[Object]] - the person controlling the unit or [[objNull]]


|x1= <sqf>_who = remoteControlled bob;</sqf>
|x1= <sqf>_who = remoteControlled bob;</sqf>

Revision as of 15:32, 25 July 2023

Hover & click on the images for description

Description

Description:
Returns the person controlling the given unit.
Groups:
Remote Control

Syntax

Syntax:
remoteControlled unit
Parameters:
unit: Object - unit under remote control
Return Value:
Object - the person controlling the unit or objNull

Examples

Example 1:
_who = remoteControlled bob;

Additional Information

See also:
remoteControl

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