commandStop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofp |Game name=
| ofp


|1.00|Game version=
|1.00


|gr1= Groups |GROUP1=
|gr1= Groups


|arg= global |Multiplayer Arguments=
|arg= global


|eff= global |Multiplayer Effects=
|eff= global


| Order the given unit(s) to stop (via the radio). <br>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.


| '''commandStop''' unitName |SYNTAX=
| '''commandStop''' unitName


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




| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
   
   
|x1= <code>[[commandStop]] _soldier1;</code> |EXAMPLE1=
|x1= <code>[[commandStop]] _soldier1;</code>


|x2= <code>[[commandStop]] [_soldier1, _soldier2];</code> |EXAMPLE2=
|x2= <code>[[commandStop]] [_soldier1, _soldier2];</code>


|x3= <code>[[commandStop]] ([[units]] [[player]]);</code> |EXAMPLE3=
|x3= <code>[[commandStop]] ([[units]] [[player]]);</code>


| [[doStop]], [[stopped]], [[stop]] |SEEALSO=
| [[doStop]], [[stopped]], [[stop]]


}}
}}

Revision as of 01:10, 18 January 2021

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:
Groups

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