commandFSM: Difference between revisions
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= | ||
|1.00|Game version= | |1.00|Game version= | ||
|gr1= Groups |GROUP1= | |gr1= Groups |GROUP1= | ||
|gr2= Program Flow |GROUP2= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 25: | Line 23: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_soldierOne [[commandFSM]] ["move.fsm", [[position]] [[player]], [[player]]]</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 21:29, 24 September 2020
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
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