{"name":"BIS_fnc_execFSM","title":"BIS fnc execFSM","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_execFSM","revid":330759,"updated":"2022-11-01T15:34:52Z","groups":["Program Flow"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Execute the scripted FSM. Shell for execFSM command","syntaxes":[{"syntax":"filename call BIS_fnc_execFSM","params":[{"name":"filename","type":"String","description":"FSM filename","type_expr":"String"}],"returns":{"type":"Number","type_expr":"Number","description":"FSM handle"}},{"syntax":"[params, filename] call BIS_fnc_execFSM","params":[{"name":"params","type":"Array","description":"parameters are passed to script as variable _this","type_expr":"Array"},{"name":"filename","type":"FSM","description":"FSM filename","type_expr":"FSM"}],"returns":{"type":"Number","type_expr":"Number","description":"FSM handle or 0 on error","text":"Number - FSM handle or **0** on error"}}],"examples":[{"code":["private _handle = [[_param1, _param2, _param3 /* etc */], \"test.fsm\"] call BIS_fnc_execFSM;"]},{"code":["private _handle = \"test.fsm\" call BIS_fnc_execFSM;"]}],"see_also":["execFSM","FSM","BIS_fnc_execRemote","BIS_fnc_execVM","BIS_fnc_call"]}