isRemoteExecuted

From Bohemia Interactive Community
Jump to navigation Jump to search
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:
command Single Player Multiplayer
Direct remoteExec JIP remoteExec
isRemoteExecuted Unchecked Checked Checked
isRemoteExecutedJIP Unchecked Unchecked Checked
Groups:
Multiplayer

Syntax

Syntax:
isRemoteExecuted
Return Value:
Boolean

Examples

Example 1:
private _remoteExecuted = isRemoteExecuted;

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