isRemoteExecuted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
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|Comments=
{{Command
|arma3 |Game name=
|arma3
|1.66|Game Version=
|1.66
|arg=  |Multiplayer Arguments=
|arg=
|eff=  |Multiplayer Effects=
|eff=
|serverExec= |= Exec
|serverExec= |= Exec


|gr1= Multiplayer |GROUP1=
|gr1= Multiplayer
| 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]]
| '''isRemoteExecuted''' |SYNTAX=
| '''isRemoteExecuted'''


| [[Boolean]] |RETURNVALUE=
| [[Boolean]]
|x1= <code>_remoteExecuted = [[isRemoteExecuted]];</code> |EXAMPLE1=
|x1= <code>_remoteExecuted = [[isRemoteExecuted]];</code>


|  [[isRemoteExecutedJIP]], [[remoteExec]], [[remoteExecCall]], [[canSuspend]], [[remoteExecutedOwner]], [[isUIContext]], [[isGamePaused]], [[isGameFocused]] |SEEALSO=
|  [[isRemoteExecutedJIP]], [[remoteExec]], [[remoteExecCall]], [[canSuspend]], [[remoteExecutedOwner]], [[isUIContext]], [[isGamePaused]], [[isGameFocused]]
}}
}}



Revision as of 01:47, 18 January 2021

Hover & click on the images for description

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..