execFSM: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Fixed parameters. Return seems to be FSM handler ID or so.) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ | | [[Number]] <nowiki>=</nowiki> argument '''execFSM''' filename |= Syntax | ||
|p1= argument: [[Any Value]](s) |= Parameter 1 | |p1= argument: [[Any Value]](s) |= Parameter 1 | ||
Line 17: | Line 17: | ||
|p2= filename: [[String]] |= Parameter 2 | |p2= filename: [[String]] |= Parameter 2 | ||
| [[ | | [[Number]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre> | |x1= <pre>_id = player execFSM "test.fsm";</pre>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[FSM]], [[FSM_Editor_Manual]], [[execVM]] | | [[FSM]], [[FSM_Editor_Manual]], [[execVM]]m [[commandFSM]], [[completedFSM]], [[doFSM]], [[getFSMVariable]], [[setFSMVariable]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 19:03, 20 December 2010
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:
- Number = argument execFSM filename
- Parameters:
- argument: Any Value(s)
- filename: String
- Return Value:
- Number
Examples
- Example 1:
_id = player execFSM "test.fsm";
Additional Information
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