isRemoteExecuted: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|arma3 | |arma3 | ||
|1.66 | |1.66 | ||
|arg | |arg= | ||
|eff | |eff= | ||
|serverExec= |= Exec | |serverExec= |= Exec | ||
|gr1= Multiplayer | |gr1= Multiplayer | ||
| Returns [[true]] if the code context is being remote executed by [[remoteExec]] or [[remoteExecCall]]. In SP always returns [[false]]. See also [[isRemoteExecutedJIP]] | | Returns [[true]] if the code context is being remote executed by [[remoteExec]] or [[remoteExecCall]]. In SP always returns [[false]]. See also [[isRemoteExecutedJIP]] | ||
| '''isRemoteExecuted''' | | '''isRemoteExecuted''' | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>_remoteExecuted = [[isRemoteExecuted]];</code> | |x1= <code>_remoteExecuted = [[isRemoteExecuted]];</code> | ||
| [[isRemoteExecutedJIP]], [[remoteExec]], [[remoteExecCall]], [[canSuspend]], [[remoteExecutedOwner]], [[isUIContext]], [[isGamePaused]], [[isGameFocused]] | | [[isRemoteExecutedJIP]], [[remoteExec]], [[remoteExecCall]], [[canSuspend]], [[remoteExecutedOwner]], [[isUIContext]], [[isGamePaused]], [[isGameFocused]] | ||
}} | }} | ||
Revision as of 00:47, 18 January 2021
Description
- Description:
- Returns true if the code context is being remote executed by remoteExec or remoteExecCall. In SP always returns false. See also isRemoteExecutedJIP
- Groups:
- Multiplayer
Syntax
- Syntax:
- isRemoteExecuted
- Return Value:
- Boolean
Examples
- Example 1:
_remoteExecuted = isRemoteExecuted;
Additional Information
- See also:
- isRemoteExecutedJIPremoteExecremoteExecCallcanSuspendremoteExecutedOwnerisUIContextisGamePausedisGameFocused
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
Bottom Section
- Posted on September 11, 2017 - 11:16 (UTC)
- Demellion
-
NOTE: 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..