commandFSM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 23: Line 23:


Orders a unit to process command defined by FSM file (via the radio).
Orders a unit to process command defined by FSM file (via the radio).


'''Example''':
'''Example''':


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

Revision as of 00:30, 6 July 2006


unit(s) commandFSM [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 (via the radio).


Example:

soldierOne commandFSM ["move.fsm", position player, player]