doFSM: Difference between revisions
Jump to navigation
Jump to search
m (Passed values) |
m (paramters) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| unit(s) '''doFSM''' [fsm | | unit(s) '''doFSM''' ["file.fsm", position, target] |= Syntax | ||
|p1= unit(s): [[Object]] or [[Array]] |= Parameter 1 | |p1= unit(s): [[Object]] or [[Array]] |= Parameter 1 | ||
|p2= [ | |p2= file.fsm: [[String]] |= Parameter 2 | ||
|p3= position: [[Array]] in [[position format]] |= Parameter 3 | |||
|p4= target: [[Object]] |= Parameter 4 | |||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value |
Revision as of 02:32, 26 August 2007
Description
- Description:
- Orders a unit to process command defined by FSM file (silently).
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit(s) doFSM ["file.fsm", position, target]
- Parameters:
- unit(s): Object or Array
- file.fsm: String
- position: Array in position format
- target: Object
- 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
- Posted on August 23, 2007 - 08:36
- Str
- Values passed to FSM file are _unit, _destination and _target