Arma 3 Scripting

Command in Remote Control

isRemoteControlling

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns true if the given player is remote-controlling a unit.

Important

See also Remote Control Tutorial.

Syntax

isRemoteControlling person

Parameters:

Returns: Boolean - true if the given player is remote controlling a unit

Examples

Example 1

if (isRemoteControlling player) then
{
    hint format ["You are controlling %1", remoteControlled player];
}
else
{
    hint "Why not remote-control something?";
};

See also

remoteControl · remoteControlled