stop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (template:command argument fix)
(31 intermediate revisions by 12 users not shown)
Line 1: Line 1:
back to [[Scripting_Reference#U|COMREF]]
{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">''unit '''''stop '''''stop</h2>
| ofp |= Game name


'''Operand types:'''
|1.00|= Game version
|arg= local |= Arguments in MP


unit: [[Object]]
|eff= global |= Effects in MP
____________________________________________________________________________________________


stop: [[Boolean]]
| 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=
____________________________________________________________________________________________


'''Type of returned value:'''
| unitName '''stop''' toggle |SYNTAX=


Nothing
|p1= unitName: [[Object]] |PARAMETER1=


'''Description:'''
|p2= toggle: [[Boolean]] |PARAMETER2=


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


''Note: ''This function is obsolete.
| [[stopped]], [[doStop]], [[commandStop]] |SEEALSO=


Use [[disableAI]] to get better control on stopping unit.
}}


'''Example:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


loon1 '''stop''' true
<dd class="notedate">Posted on January 6, 2011 - 13:21 (CET)
<dt class="note">[[User:Leo15745|Leo15745]]
<dd class="note">This command appears to be local only.
 
<!-- Note Section END -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|STOP]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|STOP]]
[[Category:Scripting Commands OFP 1.46|STOP]]
[[Category:Scripting Commands ArmA|STOP]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 15:49, 7 April 2019

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

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

Bottom Section