{"name":"isRemoteExecuted","operator":null,"title":"isRemoteExecuted","type":"command","url":"https://community.bistudio.com/wiki/isRemoteExecuted","revid":365039,"updated":"2024-07-14T13:22:37Z","groups":["Multiplayer"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.66"}],"since":{"game":"arma3","name":"Arma 3","version":"1.66"},"arma3_since":"1.66","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns true if the code context is being remote executed by remoteExec or remoteExecCall. In SP always returns false. See also isRemoteExecutedJIP:\n\n| command | Single Player | Multiplayer |  |\n|---|---|---|---|\n| Direct remoteExec | JIP remoteExec |  |  |\n| isRemoteExecuted | ✗ | ✓ | ✓ |\n| isRemoteExecutedJIP | ✗ | ✗ | ✓ |","syntaxes":[{"syntax":"isRemoteExecuted","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\nprivate _remoteExecuted = isRemoteExecuted;\n```","code":["private _remoteExecuted = isRemoteExecuted;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["isRemoteExecutedJIP","remoteExec","remoteExecCall","canSuspend","remoteExecutedOwner","isUIContext","isGamePaused","isGameFocused","remoteExecutedJIPID"],"notes":[{"user":"Demellion","date":"2017-09-11T11:16:00Z","text":"When remoteExec/remoteExecCall is called from a headless client to client, this will always return as false.\n\nThis effect also occurs with remoteExecutedOwner - it will return always return 0 from a headless client."}],"categories":["Arma 3: New Scripting Commands","Arma 3: Remote Execution","Arma 3: Scripting Commands","Command Group: Multiplayer","Introduced with Arma 3 version 1.66","Scripting Commands"]}