doStop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fixed syntax)
mNo edit summary
Line 48: Line 48:
[[Category:Scripting Commands OFP 1.46|DOSTOP]]
[[Category:Scripting Commands OFP 1.46|DOSTOP]]
[[Category:Scripting Commands ArmA|DOSTOP]]
[[Category:Scripting Commands ArmA|DOSTOP]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 06:16, 24 February 2007

Hover & click on the images for description

Description

Description:
Order the given unit to stop (without radio messages).
Groups:
Uncategorised

Syntax

Syntax:
doStop unit
Parameters:
unit: Object or Array
Return Value:
Nothing

Examples

Example 1:
doStop soldier1

Additional Information

See also:
commandStop

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".

Bottom Section