remoteControlled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.14 |gr1= Remote Control |descr= Returns the person controlling the given unit. |s1= remoteControlled unit |p1= unit: Ob...")
 
No edit summary
Line 14: Line 14:
|r1= [[Object]] - the person controlling the unit
|r1= [[Object]] - the person controlling the unit


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


|seealso= [[remoteControl]]
|seealso= [[remoteControl]]
}}
}}

Revision as of 14: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

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