commandStop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(9 intermediate revisions by the same user not shown)
Line 30: Line 30:
|descr= Order the given unit(s) to stop via radio. A stop command will never finish, the unit(s) will never be ready.
|descr= Order the given unit(s) to stop via radio. A stop command will never finish, the unit(s) will never be ready.


|s1= '''commandStop''' target
|s1= [[commandStop]]  target


|p1= target: [[Object]] or [[Array]] of [[Object]]s
|p1= target: [[Object]] or [[Array]] of [[Object]]s
Line 36: Line 36:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[commandStop]] _soldier1;</code>
|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 10: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.