{"name":"remoteControlled","title":"remoteControlled","type":"command","url":"https://community.bistudio.com/wiki/remoteControlled","revid":349626,"updated":"2023-11-16T13:24:07Z","groups":["Remote Control"],"status":"ok","games":{"arma3":"2.14"},"since":"arma3 2.14","arma3_since":"2.14","locality":{"argument":"local"},"description":"Returns the player controlling the given unit if the argument is the unit, or the unit controlled by the player if the argument is the player.\n\n> [!IMPORTANT]\n> See also Remote Control Tutorial.","syntaxes":[{"syntax":"remoteControlled unitOrPlayer","params":[{"name":"unitOrPlayer","type":"Object","description":"unit under remote control or the player controlling a unit","type_expr":"Object"}],"returns":{"type":"Object","type_expr":"Object","description":"the person controlling the unit or the unit controlled by the player; objNull if not applicable"},"form":"unary","right":{"text":"unitOrPlayer"}}],"examples":[{"code":["private _controllingPlayer = remoteControlled _dronePilot;"]},{"code":["private _dronePilot = remoteControlled _controllingPlayer;"]}],"see_also":["remoteControl","isRemoteControlling"]}