isRemoteExecuted: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
Lou Montana (talk | contribs) m (Text replacement - "<br />" to "<br>") |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|arma3 |= | |arma3 |Game name= | ||
|1.66| | |1.66|Game Version= | ||
|arg= | | |arg= |Multiplayer Arguments= | ||
|eff= | | |eff= |Multiplayer Effects= | ||
| | |serverExec= |= Exec | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns [[true]] if the code context is being remote executed by [[remoteExec]] or [[remoteExecCall]]. In SP always returns [[false]]. See also [[isRemoteExecutedJIP]] |DESCRIPTION= | | Returns [[true]] if the code context is being remote executed by [[remoteExec]] or [[remoteExecCall]]. In SP always returns [[false]]. See also [[isRemoteExecutedJIP]] |DESCRIPTION= | ||
Line 14: | Line 14: | ||
|x1= <code>_remoteExecuted = [[isRemoteExecuted]];</code> |EXAMPLE1= | |x1= <code>_remoteExecuted = [[isRemoteExecuted]];</code> |EXAMPLE1= | ||
| [[isRemoteExecutedJIP]], [[remoteExec]], [[remoteExecCall]], [[canSuspend]], [[remoteExecutedOwner]], [[isUIContext]] |SEEALSO= | | [[isRemoteExecutedJIP]], [[remoteExec]], [[remoteExecCall]], [[canSuspend]], [[remoteExecutedOwner]], [[isUIContext]], [[isGamePaused]], [[isGameFocused]] |SEEALSO= | ||
}} | }} | ||
Line 28: | Line 28: | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Arma 3: Remote Execution]] | [[Category:Arma 3: Remote Execution]] | ||
[[Category:Command Group: Multiplayer|{{uc:{{PAGENAME}}}}]] | |||
<!-- CONTINUE Notes --> | <!-- CONTINUE Notes --> | ||
Line 34: | Line 35: | ||
<dt class="note">[[User:Demellion|Demellion]]</dt> | <dt class="note">[[User:Demellion|Demellion]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
'''NOTE''': When [[remoteExec]]/[[remoteExecCall]] is called from a headless client to client, this will always return as false.<br | '''NOTE''': When [[remoteExec]]/[[remoteExecCall]] is called from a headless client to client, this will always return as false.<br> | ||
This effect also occurs with [[remoteExecutedOwner]] - it will return always return 0 from a headless client..<br | This effect also occurs with [[remoteExecutedOwner]] - it will return always return 0 from a headless client..<br> | ||
</dd> | </dd> | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> |
Revision as of 12:31, 19 March 2020
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:
- Uncategorised
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..