execFSM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(add. classification)
Line 54: Line 54:
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 03:47, 16 June 2009

Hover & click on the images for description

Description

Description:
Execute the scripted FSM. The FSM file is first searched in the mission folder, then in the campaign scripts folder and finally in the global scripts folder. Returns the FSM handler or 0 when failed.
Groups:
Uncategorised

Syntax

Syntax:
execFSM filename
Parameters:
filename: -
Return Value:
Number

Examples

Example 1:
execFSM "test.fsm";

Additional Information

See also:
FSMcommandFSMcompletedFSMdoFSMgetFSMVariablesetFSMVariable

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

Theres a difference in passing the parameters between execFSM and execVM or exec Example: execFSM: hndl = [player] execFSM "group_follow.fsm"; execVM: hndl = player execVM "group_follow.sqf";

Bottom Section