isRemoteExecutedJIP: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________
|arma3 |Game name=
|1.68|Game Version=
|arg=  |Multiplayer Arguments=
|eff=  |Multiplayer Effects=
|serverExec= |= Exec


|gr1= Multiplayer |GROUP1=
|game1= arma3
____________________________________________________________________________________________
|version1= 1.68
| Returns [[true]] if the code context is being remote executed from the JIP queue by [[remoteExec]] or [[remoteExecCall]] (when JIP param was set). It is a subset of [[isRemoteExecuted]]:
* Normal remote execution:
** [[isRemoteExecuted]] - [[true]]
** [[isRemoteExecutedJIP]] - [[false]]
* Remote execution from JIP queue:
** [[isRemoteExecuted]] - [[true]]
** [[isRemoteExecutedJIP]] - [[true]]
In SP always returns [[false]].|DESCRIPTION=
____________________________________________________________________________________________
| '''isRemoteExecutedJIP''' |SYNTAX=


| [[Boolean]] |RETURNVALUE=
|gr1= Multiplayer
|x1= <code>_remoteExecutedJIP = [[isRemoteExecutedJIP]];</code> |EXAMPLE1=


| [[isRemoteExecuted]], [[remoteExec]], [[remoteExecCall]], [[canSuspend]], [[remoteExecutedOwner]], [[isUIContext]], [[isGamePaused]], [[isGameFocused]] |SEEALSO=
|descr= Returns [[true]] if the code context is being remote executed from the JIP queue by [[remoteExec]] or [[remoteExecCall]] (when JIP param was set). It is a subset of [[isRemoteExecuted]]:
 
:{{{!}} 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= [[isRemoteExecutedJIP]]
 
|r1= [[Boolean]]
 
|x1= <sqf>
if (isRemoteExecutedJIP) then
{
waitUntil { sleep 0.1; not isNull player };
hint "Welcome... the battlefield did not wait for you!";
}
else
{
hint "You are present and that's good!";
};
</sqf>
 
|seealso= [[isRemoteExecuted]] [[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>
<!-- Appropriate categories go here -->


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Remote Execution}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Arma 3: Remote Execution]]

Latest revision as of 14:23, 14 July 2024

Hover & click on the images for description

Description

Description:
Returns true if the code context is being remote executed from the JIP queue by remoteExec or remoteExecCall (when JIP param was set). It is a subset of isRemoteExecuted:
command Single Player Multiplayer
Direct remoteExec JIP remoteExec
isRemoteExecuted Unchecked Checked Checked
isRemoteExecutedJIP Unchecked Unchecked Checked
Groups:
Multiplayer

Syntax

Syntax:
isRemoteExecutedJIP
Return Value:
Boolean

Examples

Example 1:
if (isRemoteExecutedJIP) then { waitUntil { sleep 0.1; not isNull player }; hint "Welcome... the battlefield did not wait for you!"; } else { hint "You are present and that's good!"; };

Additional Information

See also:
isRemoteExecuted 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