doFSM

From Bohemia Interactive Community
Revision as of 18:40, 3 July 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



unit(s) enableAI [fsm name, position, target]


Operand types:

unit(s): Object or Array

[fsm name, position, target]: Array

Type of returned value:

Nothing

Compatibility:

Version 2.53 required.

Description:

Orders a unit to process command defined by FSM file (silently).

Example:

soldierOne doFSM' ["move.fsm", position player, player]