Arma 3 Scripting

Command in Multiplayer

remoteExecutedOwner

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

Description

Returns the machine network ID of the client that initiated Remote Execution.

Important

Running this command

Syntax

remoteExecutedOwner

Returns: Number - returns zero in the specific cases listed in the #Description

Examples

Example 1

private _callerRE = remoteExecutedOwner;

Example 2

Send request to the server and get immediate response:

{
    // in this scope, the remoteExecutedOwner equals clientOwner of the sender
    // so using it as target in remoteExec will send response right back at him
    [
        time, // mission time value on the server
        {
            hint format
            [
                "Request received!\nMission time value on the server is: %1",
                _this
            ];
        }
    ]
    remoteExec ["call", remoteExecutedOwner]; // server response to the sender
} 
remoteExec ["call", 2]; // send request to server

See also

isRemoteExecuted · isRemoteExecutedJIP · remoteExecutedJIPID · remoteExec · remoteExecCall · canSuspend · publicVariableClient · admin · owner · clientOwner · groupOwner · didJIPOwner

Community notes