stop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofp |Game name=
| ofp |Game name=
Line 10: Line 9:


|gr1= Unit Control |GROUP1=
|gr1= Unit Control |GROUP1=
____________________________________________________________________________________________


| Stop AI unit.<br>Stopped unit will not be able to move, fire, or change its orientation to follow a watched object.<br>It may still change the stance if deemed appropriate (e.g. under fire).<br>Use [[disableAI]] to disable specific AI capabilities. |DESCRIPTION=
| Stop AI unit.<br>Stopped unit will not be able to move, fire, or change its orientation to follow a watched object.<br>It may still change the stance if deemed appropriate (e.g. under fire).<br>Use [[disableAI]] to disable specific AI capabilities. |DESCRIPTION=
____________________________________________________________________________________________


| unitName '''stop''' toggle |SYNTAX=
| unitName '''stop''' toggle |SYNTAX=
Line 22: Line 19:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>loon1 stop [[true]]</code> |EXAMPLE1=
|x1= <code>loon1 stop [[true]]</code> |EXAMPLE1=
____________________________________________________________________________________________


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

Revision as of 03:58, 17 January 2021

Hover & click on the images for description

Description

Description:
Stop AI unit.
Stopped unit will not be able to move, fire, or change its orientation to follow a watched object.
It may still change the stance if deemed appropriate (e.g. under fire).
Use disableAI to disable specific AI capabilities.
Groups:
Unit Control

Syntax

Syntax:
unitName stop toggle
Parameters:
unitName: Object
toggle: Boolean
Return Value:
Nothing

Examples

Example 1:
loon1 stop true

Additional Information

See also:
stoppeddoStopcommandStop

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

Posted on January 6, 2011 - 13:21 (CET)
Leo15745
This command appears to be local only.

Bottom Section