commandFSM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 70475 by Str_bi_wiki on 2013-03-25T10:46:07Z)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Orders a unit to process command defined by [[FSM]] file (via the radio). |= Description
| Orders a unit to process command defined by [[FSM]] file (via the radio). |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


|unitName '''commandFSM''' [fsm name, position, target] |= Syntax
|unitName '''commandFSM''' [fsm name, position, target] |SYNTAX=


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


|p2= [fsm name, position, target]: [[Array]] |= Parameter 2
|p2= [fsm name, position, target]: [[Array]] |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_soldierOne commandFSM ["move.fsm", position player, player]</pre> |= Example 1
|x1= <pre>_soldierOne commandFSM ["move.fsm", position player, player]</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[FSM]], [[FSM_Editor_Manual]], [[execFSM]], [[completedFSM]], [[doFSM]], [[getFSMVariable]], [[setFSMVariable]]  |= See also
| [[FSM]], [[FSM_Editor_Manual]], [[execFSM]], [[completedFSM]], [[doFSM]], [[getFSMVariable]], [[setFSMVariable]]  |SEEALSO=


}}
}}

Revision as of 15:35, 7 April 2019

-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 [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