{"name":"BIS_fnc_execRemote","title":"BIS fnc execRemote","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_execRemote","revid":379561,"updated":"2026-10-31T13:53:05Z","groups":["Multiplayer"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"This function is now an alias to BIS_fnc_MP: its file only includes the code of BIS_fnc_MP, so it takes the same parameters and sends the given function or scripting command for remote execution through remoteExec or remoteExecCall.\n\n> [!IMPORTANT]\n> Use remoteExec and remoteExecCall instead!","syntaxes":[{"syntax":"[params, functionName, targets, isPersistent, isCall] call BIS_fnc_execRemote","params":[{"name":"params","type":"Anything","optional":true,"default":"`[]`","description":"arguments passed to the function or command","type_expr":"Anything","text":"params: Anything - (Optional, default `[]`) arguments passed to the function or command"},{"name":"functionName","type":"String","optional":true,"default":"\"\"","description":"name of the function or scripting command to execute","type_expr":"String","text":"functionName: String - (Optional, default \"\") name of the function or scripting command to execute"},{"name":"targets","type":"Boolean, Number, Object, Group, Side, String or Array of these","optional":true,"default":"0","description":"where to execute; true means every machine, false the server only, the other types are passed to remoteExec as targets","type_expr":"Boolean | Number | Object | Group | Side | String | Array","text":"targets: Boolean, Number, Object, Group, Side, String or Array of these - (Optional, default 0) where to execute; true means every machine, false the server only, the other types are passed to remoteExec as targets"},{"name":"isPersistent","type":"Boolean","optional":true,"default":"false","description":"true to also execute for every JIP client","type_expr":"Boolean","text":"isPersistent: Boolean - (Optional, default false) true to also execute for every JIP client"},{"name":"isCall","type":"Boolean","optional":true,"default":"false","description":"true to use remoteExecCall, false to use remoteExec","type_expr":"Boolean","text":"isCall: Boolean - (Optional, default false) true to use remoteExecCall, false to use remoteExec"}],"returns":{"type":"Array","type_expr":"Array","description":"format [0, params, functionName, targets, isPersistent, isCall], where targets is the processed list of targets"}}],"examples":[{"code":["[\"Hello\", \"hint\", true] call BIS_fnc_execRemote; // same as \"Hello\" remoteExec [\"hint\", 0];"]}],"see_also":["remoteExec","remoteExecCall","BIS_fnc_MP","BIS_fnc_execFSM","BIS_fnc_execVM","BIS_fnc_spawn"]}