stop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (format)
(param name)
Line 13: Line 13:
____________________________________________________________________________________________
____________________________________________________________________________________________


| unitName '''stop''' shouldStop |= Syntax
| unitName '''stop''' toggle |= Syntax


|p1= unitName: [[Object]] |= Parameter 1
|p1= unitName: [[Object]] |= Parameter 1


|p2= shouldStop: [[Boolean]] |= Parameter 2
|p2= toggle: [[Boolean]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>loon1 [[stop]] [[true]]</code> |= Example 1
|x1= <code>loon1 stop [[true]]</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 07:18, 16 June 2015

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

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

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

Bottom Section