doFSM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(add. classification)
Line 43: Line 43:
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Revision as of 00:56, 2 December 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]
Parameters:
unit(s): Object or Array
[fsmName, position, target]: Array
fsmName: String
position: (Array)
target: Object
Return Value:
Nothing

Examples

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

Additional Information

See also:
FSMcommandFSMcompletedFSMexecFSMgetFSMVariablesetFSMVariable

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