Difference between revisions of "execFSM"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Fixed parameters. Return seems to be FSM handler ID or so.)
m (Fixed a comma)
Line 23: Line 23:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[FSM]], [[FSM_Editor_Manual]], [[execVM]]m [[commandFSM]], [[completedFSM]], [[doFSM]], [[getFSMVariable]], [[setFSMVariable]] |= SEEALSO  
+
| [[FSM]], [[FSM_Editor_Manual]], [[execVM]], [[commandFSM]], [[completedFSM]], [[doFSM]], [[getFSMVariable]], [[setFSMVariable]] |= SEEALSO  
  
 
|  |= MPBEHAVIOUR  
 
|  |= MPBEHAVIOUR  

Revision as of 17:48, 23 August 2011

Introduced with Arma 2 version 1.00
  

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:
Number = argument execFSM filename
Parameters:
argument: Any Value(s)
filename: String
Return Value:
Number

Examples

Example 1:
_id = player execFSM "test.fsm";

Additional Information

Multiplayer:
-
See also:
FSMFSM_Editor_ManualexecVMcommandFSMcompletedFSMdoFSMgetFSMVariablesetFSMVariable

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

Notes

Bottom Section