Difference between revisions of "execFSM"
Jump to navigation
Jump to search
PhilippRauch (talk | contribs) m |
|||
Line 35: | Line 35: | ||
<dl class='command_description'> | <dl class='command_description'> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
+ | Theres a difference in passing the parameters between [[execFSM]] and [[execVM]] or [[exec]] | ||
+ | '''''Example:''''' | ||
+ | |||
+ | |||
+ | '''[[execFSM]]:''' | ||
+ | <code> | ||
+ | hndl = [player] execFSM "group_follow.fsm"; | ||
+ | </code> | ||
+ | '''[[execVM]]:''' | ||
+ | <code> | ||
+ | hndl = player execVM "group_follow.sqf"; | ||
+ | </code> | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 03:40, 7 June 2009
Click on the images for descriptions
Introduced in
- Game:
- Arma 2
- Version:
- 1.00
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.
Syntax
- Syntax:
- execFSM filename
- Parameters:
- filename: -
- Return Value:
- Number
Examples
- Example 1:
execFSM "test.fsm";
Additional Information
- Multiplayer:
- -
- See also:
- FSMcommandFSMcompletedFSMdoFSMgetFSMVariablesetFSMVariable
Notes
Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To
Add New Note | How To
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";