Difference between revisions of "execFSM"

From Bohemia Interactive Community
Jump to navigation Jump to search
(populated with empty template)
(populated)
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| (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. Return the FSM handler or 0 when failed. Example:,execFSM "test.fsm",  |= Description
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''(command)''' |= Syntax
+
| '''execFSM''' filename |= Syntax
  
|p1= |= PARAMETER1  
+
|p1= filename:  -  |= PARAMETER1  
  
 
|p2= |= PARAMETER2  
 
|p2= |= PARAMETER2  
Line 18: Line 18:
 
|p3= |= PARAMETER3  
 
|p3= |= PARAMETER3  
  
| |= RETURNVALUE  
+
| [[Number]] |= RETURNVALUE  
  
  
|x1= <code>(example)</code>|= EXAMPLE1  
+
|x1= <code>ion:,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. Return the FSM handler or 0 when failed. Example:,execFSM "test.fsm"</code>|= EXAMPLE1  
  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________

Revision as of 17:01, 4 June 2009

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. Return the FSM handler or 0 when failed. Example:,execFSM "test.fsm",

Syntax

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

Examples

Example 1:
ion:,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. Return the FSM handler or 0 when failed. Example:,execFSM "test.fsm"

Additional Information

Multiplayer:
-
See also:
See also needed

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