isRemoteControlling: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - " |version1= 2.14 |branch= dev" to " |version1= 2.14")
 
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.14
|version1= 2.14
|branch= dev


|arg= local
|arg= local

Latest revision as of 17:49, 5 September 2023

Hover & click on the images for description

Description

Description:
Returns true if the given player is remote-controlling a unit.
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:
if (isRemoteControlling player) then { hint format ["You are controlling %1", remoteControlled player]; } else { hint "Why not remote-control something?"; };

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