isRemoteExecuted: Difference between revisions
Jump to navigation
Jump to search
Groups:
Multiplayer
Lou Montana (talk | contribs) m (Some wiki formatting) |
Killzone Kid (talk | contribs) No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 6: | Line 6: | ||
|gr1= Multiplayer | |gr1= Multiplayer | ||
|descr= Returns [[true]] if the code context is being remote executed by [[remoteExec]] or [[remoteExecCall]]. In SP always returns [[false]]. See also [[isRemoteExecutedJIP]] | |descr= Returns [[true]] if the code context is being remote executed by [[remoteExec]] or [[remoteExecCall]]. In SP always returns [[false]]. See also [[isRemoteExecutedJIP]]: | ||
:{{{!}} class="wikitable align-center align-left-col-1 align-center-row-1" | |||
! rowspan="2" {{!}} command | |||
! rowspan="2" {{!}} Single Player | |||
! colspan="2" {{!}} Multiplayer | |||
{{!}}- | |||
! Direct remoteExec | |||
! JIP remoteExec | |||
{{!}}- | |||
{{!}} [[isRemoteExecuted]] | |||
{{!}} {{Icon|unchecked}} | |||
{{!}} {{Icon|checked}} | |||
{{!}} {{Icon|checked}} | |||
{{!}}- | |||
{{!}} [[isRemoteExecutedJIP]] | |||
{{!}} {{Icon|unchecked}} | |||
{{!}} {{Icon|unchecked}} | |||
{{!}} {{Icon|checked}} | |||
{{!}}} | |||
|s1= [[isRemoteExecuted]] | |s1= [[isRemoteExecuted]] | ||
Line 14: | Line 32: | ||
|x1= <sqf>private _remoteExecuted = isRemoteExecuted;</sqf> | |x1= <sqf>private _remoteExecuted = isRemoteExecuted;</sqf> | ||
|seealso= [[isRemoteExecutedJIP]] [[remoteExec]] [[remoteExecCall]] [[canSuspend]] [[remoteExecutedOwner]] [[isUIContext]] [[isGamePaused]] [[isGameFocused]] | |seealso= [[isRemoteExecutedJIP]] [[remoteExec]] [[remoteExecCall]] [[canSuspend]] [[remoteExecutedOwner]] [[isUIContext]] [[isGamePaused]] [[isGameFocused]] [[remoteExecutedJIPID]] | ||
}} | }} | ||
{{GameCategory|arma3|Remote Execution}} | {{GameCategory|arma3|Remote Execution}} | ||
Line 22: | Line 41: | ||
|user= Demellion | |user= Demellion | ||
|timestamp= 20170911111600 | |timestamp= 20170911111600 | ||
|text=When [[remoteExec]]/[[remoteExecCall]] is called from a headless client to client, this will always return as false.<br> | |text= 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. | This effect also occurs with [[remoteExecutedOwner]] - it will return always return 0 from a headless client. | ||
}} | }} |
Latest revision as of 14:22, 14 July 2024
Description
- Description:
- Returns true if the code context is being remote executed by remoteExec or remoteExecCall. In SP always returns false. See also isRemoteExecutedJIP:
command Single Player Multiplayer Direct remoteExec JIP remoteExec isRemoteExecuted isRemoteExecutedJIP
Syntax
- Syntax:
- isRemoteExecuted
- Return Value:
- Boolean
Examples
- Example 1:
Additional Information
- See also:
- isRemoteExecutedJIP remoteExec remoteExecCall canSuspend remoteExecutedOwner isUIContext isGamePaused isGameFocused remoteExecutedJIPID
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
- Posted on Sep 11, 2017 - 11:16 (UTC)
-
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.