Difference between revisions of "isRemoteExecuted"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added category)
m (template:command argument fix)
Line 7: Line 7:
 
|exec= |= Exec
 
|exec= |= Exec
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
| Returns [[true]] if the code context is being remote executed by [[remoteExec]] or [[remoteExecCall]]. In SP always returns [[false]]. See also [[isRemoteExecutedJIP]] |= 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=
  
|  [[isRemoteExecutedJIP]], [[remoteExec]], [[remoteExecCall]], [[canSuspend]], [[remoteExecutedOwner]], [[isUIContext]] |= See Also
+
|  [[isRemoteExecutedJIP]], [[remoteExec]], [[remoteExecCall]], [[canSuspend]], [[remoteExecutedOwner]], [[isUIContext]] |SEEALSO=
 
}}
 
}}
  

Revision as of 15:41, 7 April 2019

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:
isRemoteExecutedJIPremoteExecremoteExecCallcanSuspendremoteExecutedOwnerisUIContext

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