commandFSM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|COMMANDFSM]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|COMMANDFSM]]
____________________________________________________________________________________________


| arma |= Game name


<h2 style="color:#000066">'''''unit(s)'' commandFSM ''[fsm name, position, target]'''''</h2>
|2.53|= Game version
____________________________________________________________________________________________


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


'''Operand types:'''
| unit(s) '''commandFSM''' [fsm name, position, target] |= Syntax


'''unit(s)''': [[Object]] or [[Array]]
|p1= unit(s) [[Object]] |= Parameter 1
   
'''[fsm name, position, target]''': [[Array]]


'''Type of returned value:'''
|p2= [fsm name, position, target] [[Array]] |= Parameter 2


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


'''Compatibility:'''
|  |= See also


Version 2.53 required.
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Orders a unit to process command defined by FSM file (via the radio).
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>


'''Example''':
[[Category:Scripting Commands|COMMANDFSM]]
 
[[Category:Scripting Commands ArmA|COMMANDFSM]]
soldierOne '''commandFSM''' ["move.fsm", position player, player]

Revision as of 23:57, 1 August 2006

-wrong parameter ("Arma") defined!-2.53
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:
unit(s) commandFSM [fsm name, position, target]
Parameters:
unit(s) Object
[fsm name, position, target] Array
Return Value:
Nothing

Examples

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

Additional Information

See also:
See also needed

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