Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.00

Description

Description: Checks whether a given FSM has finished.
In order for this flag to be set correctly, the defined FSM has to end in an "End State" mode (ID: 6).

Syntax

Syntax: completedFSM handle
Parameters:
Return Value: Boolean - If the FSM is still running, false is returned. When completed (or if the FSM handle never existed), true is returned.

Examples

Examples:
_hdl = [] execFSM "custom.fsm";
waitUntil {completedFSM _hdl};
hint "FSM done";

Additional Information

See also: execFSM
Multiplayer: 
Problems: 

Notes