Arma 3 Scripting

remoteExecCall

  • Arma 3 v1.50

Command · Markdown · JSON · 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