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

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

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

See also:
See also needed

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