Arma 3 Scripting

Command in Multiplayer

isRemoteExecuted

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

Description

Returns true if the code context is being remote executed by remoteExec or remoteExecCall. In SP always returns false. See also isRemoteExecutedJIP:

command Single Player Multiplayer
Direct remoteExec JIP remoteExec
isRemoteExecuted ✗ ✓ ✓
isRemoteExecutedJIP ✗ ✗ ✓

Syntax

isRemoteExecuted

Returns: Boolean

Examples

Example 1

private _remoteExecuted = isRemoteExecuted;

See also

isRemoteExecutedJIP · remoteExec · remoteExecCall · canSuspend · remoteExecutedOwner · isUIContext · isGamePaused · isGameFocused · remoteExecutedJIPID

Community notes

Demellion

When remoteExec/remoteExecCall is called from a headless client to client, this will always return as false.

This effect also occurs with remoteExecutedOwner - it will return always return 0 from a headless client.