Description
Returns true if the given player is remote-controlling a unit.
Important
See also Remote Control Tutorial.
Syntax
isRemoteControlling person
Parameters:
person: Object - a player
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?";
};