BIS_fnc_execFSM

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Execute the scripted FSM. Shell for execFSM command
Execution:
call
Groups:
Program Flow

Syntax

Syntax:
filename call BIS_fnc_execFSM
Parameters:
filename: String - FSM filename
Return Value:
Number - FSM handle

Alternative Syntax

Syntax:
[params, filename] call BIS_fnc_execFSM
Parameters:
params: Array - parameters are passed to script as variable _this
filename: FSM - FSM filename
Return Value:
Number - FSM handle or 0 on error

Examples

Example 1:
private _handle = [[_param1, _param2, _param3 /* etc */], "test.fsm"] call BIS_fnc_execFSM;
Example 2:
private _handle = "test.fsm" call BIS_fnc_execFSM;

Additional Information

See also:
execFSM FSM BIS_fnc_execRemote BIS_fnc_execVM BIS_fnc_call

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note