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



Introduced in

Version:1.00

Description

Description:

Orders a unit to process an FSM script.

Identical to doFSM, but is supposed to create radio messages (which seems to be defective, though).

Syntax

Syntax:unit commandFSM [fsmName, position, target]
Parameters:
  • unit: Object - Unit that is available as "_units select 0" in called FSM
  • fsmName: String - Name of FSM to be executed
  • position: Position-2 - 2 or 3-dimensional array, that is available as "_destination" in called FSM
  • target: Object - Object that is available as "_target" in called FSM
Return Value:Nothing

Examples

Examples:
_soldierOne commandFSM ["move.fsm", position player, player]

Additional Information

See also: doFSM, execFSM
Multiplayer: 
Problems: 

Notes