Warning: file_put_contents(/ff_76e9508a1f63508f3a5712372f08597f3281f8a7931a5486.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
execFSM - OFPEC Scripting Command Reference | OFPEC The Editing Center

argument execFSM fileName

Operand types

argument: Any
fileName: String

Type of returned value


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



player execFSM "test.fsm"