commandStop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(4 intermediate revisions by the same user not shown)
Line 38: Line 38:
|x1= <sqf>commandStop _soldier1;</sqf>
|x1= <sqf>commandStop _soldier1;</sqf>


|x2= <code>[[commandStop]] [_soldier1, _soldier2];</code>
|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.