commandFSM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (changed global to local variable to make clear the variable)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit(s) '''commandFSM''' ["Filename.fsm", position, target] |= Syntax
|[[Object#Unit(s)|Units(s)]] '''commandFSM''' ["Filename.fsm", [[Position]], target] |= Syntax
 
|p1= [[Object#Unit(s)|Units(s)]]: [[Object#Unit|Unit]] or [[Object#Units|Units]] |= Parameter 1


|p1= unit(s) [[Object]] or [[Array]]|= Parameter 1


|p2= [Filename.fsm, position, target] [[Array]] |= Parameter 2
|p2= [Filename.fsm, position, target] [[Array]] |= Parameter 2
Line 19: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>soldierOne commandFSM ["move.fsm", position player, player]</pre> |= Example 1
|x1= <pre>_soldierOne commandFSM ["move.fsm", position player, player]</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 06:55, 27 August 2007

-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:
Units(s) commandFSM ["Filename.fsm", Position, target]
Parameters:
Units(s): Unit or Units
[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