commandFSM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|gr1= Groups |GROUP1= |1.00|Game version= |gr1= Groups |GROUP1=" to "|1.00|Game version= |gr1= Groups |GROUP1=")
mNo edit summary
Line 3: Line 3:


| arma |Game name=
| arma |Game name=
|gr1= Program Flow |GROUP1=


|1.00|Game version=
|1.00|Game version=


|gr1= Groups |GROUP1=
|gr1= Groups |GROUP1=
|gr2= Program Flow |GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 25: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_soldierOne commandFSM ["move.fsm", position player, player]</pre> |EXAMPLE1=
|x1= <code>_soldierOne [[commandFSM]] ["move.fsm", [[position]] [[player]], [[player]]]</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 21:29, 24 September 2020

-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:
GroupsProgram Flow

Syntax

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

Examples

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

Additional Information

See also:
FSMFSM_Editor_ManualexecFSMcompletedFSMdoFSMgetFSMVariablesetFSMVariable

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