Difference between revisions of "isRemoteExecuted"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= ____________________________________________________________________________________________ |arma3dev |= Game |1.65|= Game Version |arg= |= Multiplayer Arguments...")
 
m (Text replacement - "\[\[Category\: ?Command[ _]Group\:.*\|\{\{uc\:\{\{PAGENAME\}\}\}\}\]\] " to "")
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Command|=
+
{{Command|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
|arma3dev |= Game
+
|arma3 |Game name=
|1.65|= Game Version
+
|1.66|Game Version=
|arg=  |= Multiplayer Arguments
+
|arg=  |Multiplayer Arguments=
|eff=  |= Multiplayer Effects
+
|eff=  |Multiplayer Effects=
|exec= |= Exec
+
|serverExec= |= Exec
 +
 
 +
|gr1= Multiplayer |GROUP1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
| Returns [[true]] if the code context is being remote executed by [[remoteExec]] or [[remoteExecCall]] |= Description
+
| 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
+
| '''isRemoteExecuted''' |SYNTAX=
  
| [[Boolean]] |= Return Value
+
| [[Boolean]] |RETURNVALUE=
|x1= <code>_remoteExecuted = [[isRemoteExecuted]];</code> |= Example 1
+
|x1= <code>_remoteExecuted = [[isRemoteExecuted]];</code> |EXAMPLE1=
  
| [[remoteExec]], [[remoteExecCall]], [[canSuspend]] |= See Also
+
| [[isRemoteExecutedJIP]], [[remoteExec]], [[remoteExecCall]], [[canSuspend]], [[remoteExecutedOwner]], [[isUIContext]], [[isGamePaused]], [[isGameFocused]] |SEEALSO=
 
}}
 
}}
  
Line 27: Line 29:
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Arma 3: Remote Execution]]
 +
 +
<!-- 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 12:21, 25 September 2020

Introduced with Arma 3 version 1.661.66
Hover & click on the images for descriptions

Description

Description:
Returns true if the code context is being remote executed by remoteExec or remoteExecCall. In SP always returns false. See also isRemoteExecutedJIP

Syntax

Syntax:
isRemoteExecuted
Return Value:
Boolean

Examples

Example 1:
_remoteExecuted = isRemoteExecuted;

Additional Information

See also:
isRemoteExecutedJIPremoteExecremoteExecCallcanSuspendremoteExecutedOwnerisUIContextisGamePausedisGameFocused
Groups:
Multiplayer

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

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