doStop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (VBS2 scripting category removal)
Line 53: Line 53:
[[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 05:12, 19 July 2011

Hover & click on the images for description

Description

Description:
Order the given unit(s) to stop (without radio messages).
DoStop'ed units leave the groups formation. It will prevent the unit from moving around with their group (or formation leader), while still beeing able to turn around and even move to a new position if they see fit. They will still respond to orders from their group leader (like engage, rearm, board a vehicle), but all of their actions will be seperate from the group formation (unless ordered to return, which AI leaders don't do unless a script tells them to).
Groups:
Uncategorised

Syntax

Syntax:
doStop unit(s)
Parameters:
unit(s): Object or Array
Return Value:
Nothing

Examples

Example 1:
doStop _soldier1

Additional Information

See also:
commandStopstop

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 3, 2006 - 14:32
hardrock
Notes from before the conversion: This command will make the unit stop where he is until the unit's group engages the enemy. At that time, the unit will move and fight the enemy. One good use for this is to place a bunch of units in the same group around a campfire or in some other place "for looks", and make them sit down or have their weapon on their back. When the enemy is spotted, they will get up and attack. Note that you cannot do something like place somebody behind sandbags and keep him there during a fight with this command. For that you will need disableAI "move".
Ceeeb
In ArmA 1.14, this command will not stop a unit that has been given a move order by selecting the unit, then clicking on the in game map (or ground).

Bottom Section