stop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "|= Game name" to "|Game name=")
(32 intermediate revisions by 14 users not shown)
Line 1: Line 1:
back to [[Scripting_Reference#S|COMREF]]
{{Command|Comments=
____________________________________________________________________________________________


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


|1.00|Game version=
|arg= local |Multiplayer Arguments=


'''Operand types:'''
|eff= global |Multiplayer Effects=
____________________________________________________________________________________________


'''unit:''' [[Object]]
| 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:''' [[Boolean]]
| unitName '''stop''' toggle |SYNTAX=


'''Type of returned value:'''
|p1= unitName: [[Object]] |PARAMETER1=


[[Nothing]]
|p2= toggle: [[Boolean]] |PARAMETER2=


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


Stop AI unit.
| [[stopped]], [[doStop]], [[commandStop]] |SEEALSO=


<span style="color:red">This function is obsolete.
}}
</span>


Use [[disableAI]] to get better control of stopping unit.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<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.


'''Example:'''
<!-- Note Section END -->
</dl>


loon1 '''stop''' [[true]]
<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 23:07, 1 September 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