Arma 3 Scripting

Command in Multiplayer

remoteExecCall

Also available as Markdown and JSON, or read the original wiki page.

Description

Unscheduled version of remoteExec. The only difference between remoteExec and remoteExecCall is that remoteExecCall will run functions in unscheduled environment.

Important

The "Call" in remoteExecCall only means that the remote execution will take place in unscheduled environment and does not mean it will happen right away (see #Example 3).

Syntax

see remoteExec

Parameters:

Returns: see remoteExec

Examples

Example 1

["hello"] remoteExec ["hint"];        // runs unscheduled
["hello"] remoteExecCall ["hint"];    // no difference at all

Example 2

["my message"] remoteExec ["BIS_fnc_infoText"];        // correct
["my message"] remoteExecCall ["BIS_fnc_infoText"];    // wrong - BIS_fnc_infoText needs a scheduled environment, see its spawn need

Example 3

remoteExecCall ["fnc1"];
call fnc2;    // fnc1 may or may not be executed after fnc2

call fnc1;
call fnc2;    // fnc2 will be executed after fnc1

See also

remoteExec · remoteExecutedOwner · isRemoteExecuted · isRemoteExecutedJIP · Arma 3: Remote Execution · canSuspend · BIS_fnc_MP · remoteExecutedJIPID