{"name":"remoteExecCall","operator":null,"title":"remoteExecCall","type":"command","url":"https://community.bistudio.com/wiki/remoteExecCall","revid":369336,"updated":"2024-09-03T18:43:00Z","groups":["Multiplayer"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.50"}],"since":{"game":"arma3","name":"Arma 3","version":"1.50"},"arma3_since":"1.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Unscheduled version of remoteExec. The only difference between remoteExec and remoteExecCall is that remoteExecCall will run **functions** in unscheduled environment.\n\n> [!IMPORTANT]\n> 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).","syntaxes":[{"syntax":"see remoteExec","since":null,"effect":null,"exec":null,"params":[{"name":"see remoteExec","type":null,"optional":false,"default":null,"description":null,"types":["remoteExec"],"since":null,"text":"see remoteExec"}],"returns":{"type":"see remoteExec","types":["remoteExec"],"description":null,"text":"see remoteExec"},"form":null,"operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\n[\"hello\"] remoteExec [\"hint\"];        // runs unscheduled\n[\"hello\"] remoteExecCall [\"hint\"];    // no difference at all\n```","code":["[\"hello\"] remoteExec [\"hint\"];\t\t// runs unscheduled\n[\"hello\"] remoteExecCall [\"hint\"];\t// no difference at all"]},{"text":"```sqf\n[\"my message\"] remoteExec [\"BIS_fnc_infoText\"];        // correct\n[\"my message\"] remoteExecCall [\"BIS_fnc_infoText\"];    // wrong - BIS_fnc_infoText needs a scheduled environment, see its spawn need\n```","code":["[\"my message\"] remoteExec [\"BIS_fnc_infoText\"];\t\t// correct\n[\"my message\"] remoteExecCall [\"BIS_fnc_infoText\"];\t// wrong - BIS_fnc_infoText needs a scheduled environment, see its spawn need"]},{"text":"```sqf\nremoteExecCall [\"fnc1\"];\ncall fnc2;    // fnc1 may or may not be executed after fnc2\n\ncall fnc1;\ncall fnc2;    // fnc2 will be executed after fnc1\n```","code":["remoteExecCall [\"fnc1\"];\ncall fnc2;\t// fnc1 may or may not be executed after fnc2\n\ncall fnc1;\ncall fnc2;\t// fnc2 will be executed after fnc1"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["remoteExec","remoteExecutedOwner","isRemoteExecuted","isRemoteExecutedJIP","Arma 3: Remote Execution","canSuspend","BIS_fnc_MP","remoteExecutedJIPID"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Remote Execution","Arma 3: Scripting Commands","Command Group: Multiplayer","Introduced with Arma 3 version 1.50","Scripting Commands"]}