argument execFSM fileName

Operand types

argument: Any
fileName: String

Type of returned value

Description

Execute the scripted FSM.
Argument is passed to the FSM as local variable _this.
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.

Used In

Arma2

Example

player execFSM "test.fsm"
Search OFPEC COMREF