commandStop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(syntax, added examples)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Order the given unit(s) to stop (via the radio). A stop command will never finish, the unit will never be ready. |= Description
| Order the given unit(s) to stop (via the radio). <br>A stop command will never finish, the unit will never be ready. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''commandStop''' unitName |= Syntax
| '''commandStop''' unitName |= Syntax


|p1= unitName: [[Object]] or [[Array]] |= Parameter 1
|p1= unitName: [[Object]] or [[Array]] of [[Object]]s |= Parameter 1




Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>commandStop _soldier1</pre> |= Example 1
|x1= <code>[[commandStop]] _soldier1;</code> |= Example 1
 
|x2= <code>[[commandStop]] [_soldier1, _soldier2];</code> |= Example 2
 
|x3= <code>[[commandStop]] ([[units]] [[player]]);</code> |= Example 3
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:23, 15 March 2014

Hover & click on the images for description

Description

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

Syntax

Syntax:
commandStop unitName
Parameters:
unitName: 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:
doStopstoppedstop

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

Notes

Ceeeb
In ArmA 1.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).

Bottom Section