isRemoteExecuted: Difference between revisions

From Bohemia Interactive Community
mNo edit summary
m (Some wiki formatting)
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________
|arma3 |Game name=
|1.66|Game Version=
|arg=  |Multiplayer Arguments=
|eff=  |Multiplayer Effects=
|serverExec= |= Exec


|gr1= Multiplayer |GROUP1=
|game1= arma3
____________________________________________________________________________________________
|version1= 1.66
| Returns [[true]] if the code context is being remote executed by [[remoteExec]] or [[remoteExecCall]]. In SP always returns [[false]]. See also [[isRemoteExecutedJIP]] |DESCRIPTION=
____________________________________________________________________________________________
| '''isRemoteExecuted''' |SYNTAX=


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


| [[isRemoteExecutedJIP]], [[remoteExec]], [[remoteExecCall]], [[canSuspend]], [[remoteExecutedOwner]], [[isUIContext]], [[isGamePaused]], [[isGameFocused]] |SEEALSO=
|descr= Returns [[true]] if the code context is being remote executed by [[remoteExec]] or [[remoteExecCall]]. In SP always returns [[false]]. See also [[isRemoteExecutedJIP]]
}}


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


<h3 style='display:none'>Bottom Section</h3>
|r1= [[Boolean]]
<!-- Appropriate categories go here -->


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
|x1= <sqf>private _remoteExecuted = isRemoteExecuted;</sqf>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Arma 3: Remote Execution]]
[[Category:Command Group: Multiplayer|{{uc:{{PAGENAME}}}}]]


<!-- CONTINUE Notes -->
|seealso= [[isRemoteExecutedJIP]] [[remoteExec]] [[remoteExecCall]] [[canSuspend]] [[remoteExecutedOwner]] [[isUIContext]] [[isGamePaused]] [[isGameFocused]]
<dl class="command_description">
}}
<dd class="notedate">Posted on September 11, 2017 - 11:16 (UTC)</dd>
 
<dt class="note">[[User:Demellion|Demellion]]</dt>
{{GameCategory|arma3|Remote Execution}}
<dd class="note">
 
'''NOTE''': When [[remoteExec]]/[[remoteExecCall]] is called from a headless client to client, this will always return as false.<br>  
{{Note
This effect also occurs with [[remoteExecutedOwner]] - it will return always return 0 from a headless client..<br>
|user= Demellion
</dd>
|timestamp= 20170911111600
</dl>
|text=When [[remoteExec]]/[[remoteExecCall]] is called from a headless client to client, this will always return as false.<br>  
<!-- DISCONTINUE Notes -->
This effect also occurs with [[remoteExecutedOwner]] - it will return always return 0 from a headless client.
}}

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.