Description
Returns the machine network ID of the client that initiated Remote Execution.
Important
Running this command
- in a Single Player environment
- outside of a remote-executed context
- in a remote-executed context received from a Headless Client
will return 0 by design. To check if the context is remote executed, use isRemoteExecuted or isRemoteExecutedJIP.
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:
{
[
time,
{
hint format
[
"Request received!\nMission time value on the server is: %1",
_this
];
}
]
remoteExec ["call", remoteExecutedOwner];
}
remoteExec ["call", 2];
See also
isRemoteExecuted · isRemoteExecutedJIP · remoteExecutedJIPID · remoteExec · remoteExecCall · canSuspend · publicVariableClient · admin · owner · clientOwner · groupOwner · didJIPOwner