isRemoteExecutedJIP: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Some wiki formatting)
 
Line 7: Line 7:


|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]]:
|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]]:
* Normal remote execution:  
 
** [[isRemoteExecuted]] - [[true]]
:{{{!}} class="wikitable align-center align-left-col-1 align-center-row-1"
** [[isRemoteExecutedJIP]] - [[false]]
! rowspan="2" {{!}} command
* Remote execution from JIP queue:
! rowspan="2" {{!}} Single Player
** [[isRemoteExecuted]] - [[true]]
! colspan="2" {{!}} Multiplayer
** [[isRemoteExecutedJIP]] - [[true]]
{{!}}-
In SP always returns [[false]].
! Direct remoteExec
! JIP remoteExec
{{!}}-
{{!}} [[isRemoteExecuted]]
{{!}} {{Icon|unchecked}}
{{!}} {{Icon|checked}}
{{!}} {{Icon|checked}}
{{!}}-
{{!}} [[isRemoteExecutedJIP]]
{{!}} {{Icon|unchecked}}
{{!}} {{Icon|unchecked}}
{{!}} {{Icon|checked}}
{{!}}}


|s1= [[isRemoteExecutedJIP]]
|s1= [[isRemoteExecutedJIP]]
Line 19: Line 31:
|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <sqf>_remoteExecutedJIP = isRemoteExecutedJIP;</sqf>
|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]]
|seealso= [[isRemoteExecuted]] [[remoteExec]] [[remoteExecCall]] [[canSuspend]] [[remoteExecutedOwner]] [[isUIContext]] [[isGamePaused]] [[isGameFocused]]
}}
}}


{{GameCategory|arma3|Remote Execution}}
{{GameCategory|arma3|Remote Execution}}

Latest revision as of 01:46, 23 March 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

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