BIS fnc execFSM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
Line 17: Line 17:
|s2= [params, filename] [[call]] '''BIS_fnc_execFSM''';
|s2= [params, filename] [[call]] '''BIS_fnc_execFSM''';


|p21= params: [[Array]] - parameters are passed to script as variable [[_this]] |PARAMETER21=
|p21= params: [[Array]] - parameters are passed to script as variable [[_this]]
|p22= filename: [[FSM]] - [[FSM]] filename |PARAMETER22=
|p22= filename: [[FSM]] - [[FSM]] filename


|r2= [[Number]] - FSM handle or '''0''' on error
|r2= [[Number]] - FSM handle or '''0''' on error

Revision as of 19:06, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Program Flow

Syntax

Syntax:
Syntax needed
Parameters:
filename: String - FSM filename
Return Value:
Return value needed

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:
_handle = [[_param1, _param2, etc..], "test.fsm"] call BIS_fnc_execFSM;
Example 2:
_handle = "test.fsm" call BIS_fnc_execFSM;

Additional Information

See also:
See also needed

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