remoteExecutedOwner: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= | {{Command|= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |arma3 |= Game | ||
|1. | |1.70|= Game Version | ||
|arg= |= Multiplayer Arguments | |arg= |= Multiplayer Arguments | ||
|eff= |= Multiplayer Effects | |eff= |= Multiplayer Effects |
Revision as of 16:47, 16 May 2017
Description
- Description:
- Returns clientOwner of the PC, which initiated Remote Execution call. If used in SP or outside of remote executed context, the command returns 0. To check if the context was remote executed or remote executed from JIP queue, use isRemoteExecuted and isRemoteExecutedJIP
- Groups:
- Uncategorised
Syntax
- Syntax:
- remoteExecutedOwner
- Return Value:
- Number - id of the client, which initiated remote execution
Examples
- Example 1:
_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 recieved!\nMission time value on the server is: %1", _this ]; } ] remoteExec ["call", remoteExecutedOwner]; // server response to the sender } remoteExec ["call", 2]; // send request to server
Additional Information
- See also:
- isRemoteExecutedisRemoteExecutedJIPremoteExecremoteExecCallcanSuspendpublicVariableClientadminownerclientOwnergroupOwnerdidJIPOwner
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note