isRemoteExecuted: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "</dd> </dl>" to "</dd> </dl>") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 7: | Line 7: | ||
|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]] | |||
|descr= Returns [[true]] if the code context is being remote executed by [[remoteExec]] or [[remoteExecCall]]. In SP always returns [[false]]. See also [[isRemoteExecutedJIP]] | |||
|s1= '''isRemoteExecuted''' | |s1= '''isRemoteExecuted''' | ||
Revision as of 21:11, 13 June 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
- 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..