execFSM

From Bohemia Interactive Community
Revision as of 19:52, 20 December 2010 by .kju (talk | contribs) (Updated parameters and example)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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:
Script = argument execFSM filename
Parameters:
argument: Any Value(s)
filename: String
Return Value:
Script - script handle, which can be used to determine (via scriptDone) when the called FSM has finished.

Examples

Example 1:
_handle = [[player] execFSM "test.fsm";

Additional Information

See also:
FSMFSM_Editor_ManualexecVMscriptDoneterminatecommandFSMcompletedFSMdoFSMgetFSMVariablesetFSMVariable

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