commandFSM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 12: Line 12:
|unitName '''commandFSM''' ["Filename.fsm", position, target] |= Syntax
|unitName '''commandFSM''' ["Filename.fsm", position, target] |= Syntax


|p1= unitName: [[Object]] |= Parameter 1
|p1= unitName: [[Object]] or [[Array]] |= Parameter 1


|p2= [Filename.fsm, position, target]: [[Array]] |= Parameter 2
|p2= [Filename.fsm, position, target]: [[Array]] |= Parameter 2

Revision as of 16:58, 21 January 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

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

Syntax

Syntax:
unitName commandFSM ["Filename.fsm", position, target]
Parameters:
unitName: Object or Array
[Filename.fsm, position, target]: Array
Return Value:
Nothing

Examples

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

Additional Information

See also:
FSM

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section