commandStop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ?\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
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= <code>[[commandStop]] [_soldier1, _soldier2];</code>

Revision as of 14:17, 5 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.