commandStop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
Line 40: Line 40:
|x2= <sqf>commandStop [_soldier1, _soldier2];</sqf>
|x2= <sqf>commandStop [_soldier1, _soldier2];</sqf>


|x3= <code>commandStop (units player);</code>
|x3= <sqf>commandStop (units player);</sqf>


|seealso= [[doStop]] [[stopped]] [[stop]]
|seealso= [[doStop]] [[stopped]] [[stop]]

Latest revision as of 11:21, 13 May 2022

Hover & click on the images for description

Description

Description:
Order the given unit(s) to stop via radio. A stop command will never finish, the unit(s) will never be ready.
Groups:
Groups

Syntax

Syntax:
commandStop target
Parameters:
target: Object or Array of Objects
Return Value:
Nothing

Examples

Example 1:
commandStop _soldier1;
Example 2:
commandStop [_soldier1, _soldier2];
Example 3:
commandStop (units player);

Additional Information

See also:
doStop stopped stop

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
Ceeeb
In Armed Assault v1.14, this command will not stop a unit that has been given a move order by means of selecting the unit, then clicking on the in game map or ground.