isRemoteControlling: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (typo)
m (typo in example)
Line 16: Line 16:
|r1= [[Boolean]] - [[true]] if the given player is remote controlling a unit
|r1= [[Boolean]] - [[true]] if the given player is remote controlling a unit


|x1= <sqf>_remoteControlling = isRemoteContrilling _bob;</sqf>
|x1= <sqf>_remoteControlling = isRemoteControlling _bob;</sqf>


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

Revision as of 14:03, 20 August 2023

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.14.

Description

Description:
Returns true if the given player is remote controlling a unit.
The argument must be local. For more info see Remote Control
Groups:
Remote Control

Syntax

Syntax:
isRemoteControlling person
Parameters:
person: Object - a player
Return Value:
Boolean - true if the given player is remote controlling a unit

Examples

Example 1:
_remoteControlling = isRemoteControlling _bob;

Additional Information

See also:
remoteControl remoteControlled

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