isRemoteExecuted: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\];?<\/code>" to "<sqf>_$1 = $2;</sqf>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.66 | |version1= 1.66 | ||
|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]] | ||
|s1= | |||
|s1= [[isRemoteExecuted]] | |||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= <sqf>_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]] | ||
Line 20: | Line 19: | ||
{{GameCategory|arma3|Remote Execution}} | {{GameCategory|arma3|Remote Execution}} | ||
{{Note | |||
|user= Demellion | |||
|timestamp= 20170911111600 | |||
|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. | |||
Revision as of 17:05, 15 August 2022
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:
Additional Information
- See also:
- isRemoteExecutedJIP remoteExec remoteExecCall canSuspend remoteExecutedOwner isUIContext isGamePaused isGameFocused
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.