Arma 3 Scripting

isRemoteExecuted

  • Arma 3 v1.66

Command · Markdown · JSON · 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
command Single Player 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.