Arma 3 Scripting

isRemoteControlling

  • Local argument
  • Arma 3 v2.14

Command · Markdown · JSON · 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