doFSM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Object#Unit(s)|Unit(s)]] '''doFSM''' ["file.fsm", [[Position]], target] |= Syntax
| unit(s) '''doFSM''' [fsmName, position, target] |= Syntax


|p1[[Object#Unit(s)|Unit(s)]] |= Parameter 1
|p1 unit(s): [[Object]] or [[Array]] |= Parameter 1
|p2= [fsmName, position, target]: [[Array]] |= Parameter 2


|p2= file.fsm: [[String]] |= Parameter 2
|p3= fsmName: [[String]] |= Parameter 3
|p3= [[Position]] ([[Array]]) |= Parameter 3
|p4= position: ([[Array]]) |= Parameter 4
|p4= target: [[Object]] |= Parameter 4
|p5= target: [[Object]] |= Parameter 5


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 19:47, 22 January 2009

-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 (silently).
Groups:
Uncategorised

Syntax

Syntax:
unit(s) doFSM [fsmName, position, target]
Return Value:
p1 unit(s): Object or Array

Examples

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

Additional Information

See also:
Nothing

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

Posted on August 23, 2007 - 08:36
Str
Values passed to FSM file are _units, _destination and _target

Bottom Section