stop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
Line 38: Line 38:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <sqf>loon1 stop true</sqf>
|x1= <sqf>loon1 stop true;</sqf>


|seealso= [[stopped]] [[doStop]] [[commandStop]]
|seealso= [[stopped]] [[doStop]] [[commandStop]]

Revision as of 23:43, 28 June 2022

Hover & click on the images for description

Description

Description:
Stop AI unit.
Stopped unit will not be able to move, fire, or change its orientation to follow a watched object.
It may still change the stance if deemed appropriate (e.g. under fire).
Use disableAI to disable specific AI capabilities.
Groups:
Unit Control

Syntax

Syntax:
unitName stop toggle
Parameters:
unitName: Object
toggle: Boolean
Return Value:
Nothing

Examples

Example 1:
loon1 stop true;

Additional Information

See also:
stopped doStop 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
Posted on January 6, 2011 - 13:21 (CET)
Leo15745
This command appears to be local only.