BIS fnc execFSM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Multiplayer |GROUP1=")
m (Text replacement - "\[\[Category\:Function Group\: MP(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 46: Line 46:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: MP|{{uc:execFSM}}]]
 
[[Category:Functions|{{uc:execFSM}}]]
[[Category:Functions|{{uc:execFSM}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:execFSM}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:execFSM}}]]

Revision as of 01:12, 10 October 2020

Hover & click on the images for description

Description

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

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

Additional Information

See also:
execFSMFSMBIS_fnc_execRemoteBIS_fnc_execVMBIS_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

Notes

Bottom Section