doFSM: 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|DOFSM]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|DOFSM]]
____________________________________________________________________________________________


| arma |= Game name


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


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


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


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


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


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>soldierOne doFSM' ["move.fsm", position player, player]</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 2.53 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Orders a unit to process command defined by FSM file (silently).
<h3 style="display:none">Bottom Section</h3>


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

Revision as of 00:49, 2 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 (silently).
Groups:
Uncategorised

Syntax

Syntax:
unit(s) doFSM [fsm name, position, target]
Parameters:
unit(s) Object
[fsm name, position, target] Array
Return Value:
Nothing

Examples

Example 1:
soldierOne doFSM' ["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