isRemoteExecuted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|exec=" to "|serverExec=")
No edit summary
 
(39 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
____________________________________________________________________________________________
| 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=
|game1= arma3
|x1= <code>_remoteExecuted = [[isRemoteExecuted]];</code> |EXAMPLE1=
|version1= 1.66


| [[isRemoteExecutedJIP]], [[remoteExec]], [[remoteExecCall]], [[canSuspend]], [[remoteExecutedOwner]], [[isUIContext]], [[isGamePaused]], [[isGameFocused]] |SEEALSO=
|gr1= Multiplayer
 
|descr= Returns [[true]] if the code context is being remote executed by [[remoteExec]] or [[remoteExecCall]]. In SP always returns [[false]]. See also [[isRemoteExecutedJIP]]:
:{{{!}} class="wikitable align-center align-left-col-1 align-center-row-1"
! rowspan="2" {{!}} command
! rowspan="2" {{!}} Single Player
! colspan="2" {{!}} Multiplayer
{{!}}-
! Direct remoteExec
! JIP remoteExec
{{!}}-
{{!}} [[isRemoteExecuted]]
{{!}} {{Icon|unchecked}}
{{!}} {{Icon|checked}}
{{!}} {{Icon|checked}}
{{!}}-
{{!}} [[isRemoteExecutedJIP]]
{{!}} {{Icon|unchecked}}
{{!}} {{Icon|unchecked}}
{{!}} {{Icon|checked}}
{{!}}}
 
|s1= [[isRemoteExecuted]]
 
|r1= [[Boolean]]
 
|x1= <sqf>private _remoteExecuted = isRemoteExecuted;</sqf>
 
|seealso= [[isRemoteExecutedJIP]] [[remoteExec]] [[remoteExecCall]] [[canSuspend]] [[remoteExecutedOwner]] [[isUIContext]] [[isGamePaused]] [[isGameFocused]] [[remoteExecutedJIPID]]
}}
}}


<dl class='command_description'>
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>


<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|Remote Execution}}
<!-- Appropriate categories go here -->


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
{{Note
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
|user= Demellion
[[Category:Arma 3: Remote Execution]]
|timestamp= 20170911111600
[[Category:Command Group: Multiplayer|{{uc:{{PAGENAME}}}}]]
|text= 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.
<!-- CONTINUE Notes -->
}}
<dl class="command_description">
<dd class="notedate">Posted on September 11, 2017 - 11:16 (UTC)</dd>
<dt class="note">[[User:Demellion|Demellion]]</dt>
<dd class="note">
'''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..<br />
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 14:22, 14 July 2024

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.