isRemoteExecuted: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">")
m (Some wiki formatting)
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command
|arma3
 
|1.66
|game1= arma3
|arg=
|version1= 1.66
|eff=
|serverExec= |= Exec


|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]]
| '''isRemoteExecuted'''


| [[Boolean]]
|descr= Returns [[true]] if the code context is being remote executed by [[remoteExec]] or [[remoteExecCall]]. In SP always returns [[false]]. See also [[isRemoteExecutedJIP]]
|x1= <code>_remoteExecuted = [[isRemoteExecuted]];</code>


|seealso= [[isRemoteExecutedJIP]], [[remoteExec]], [[remoteExecCall]], [[canSuspend]], [[remoteExecutedOwner]], [[isUIContext]], [[isGamePaused]], [[isGameFocused]]
|s1= [[isRemoteExecuted]]
}}


<dl class='command_description'>
|r1= [[Boolean]]
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>


|x1= <sqf>private _remoteExecuted = isRemoteExecuted;</sqf>


{{GameCategory|arma3|Scripting Commands}}
|seealso= [[isRemoteExecutedJIP]] [[remoteExec]] [[remoteExecCall]] [[canSuspend]] [[remoteExecutedOwner]] [[isUIContext]] [[isGamePaused]] [[isGameFocused]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
}}
{{GameCategory|arma3| Remote Execution}}


<!-- CONTINUE Notes -->
{{GameCategory|arma3|Remote Execution}}
<dl class="command_description">
 
<dt></dt>
{{Note
<dd class="notedate">Posted on September 11, 2017 - 11:16 (UTC)</dd>
|user= Demellion
<dt class="note">[[User:Demellion|Demellion]]</dt>
|timestamp= 20170911111600
<dd class="note">
|text=When [[remoteExec]]/[[remoteExecCall]] is called from a headless client to client, this will always return as false.<br>  
'''NOTE''': 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..<br>
}}
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 17:05, 15 August 2022

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:
private _remoteExecuted = isRemoteExecuted;

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