stop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
back to [[Scripting_Reference#U|COMREF]]
back to [[Scripting_Reference#S|COMREF]]


<h2 style="color:#000066">'''''unit'' stop ''stop'''''</h2>
<h2 style="color:#000066">'''''unit'' stop ''stop'''''</h2>
Line 17: Line 17:
Stop AI unit.
Stop AI unit.


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


Use [[disableAI]] to get better control of stopping unit.
Use [[disableAI]] to get better control of stopping unit.

Revision as of 12:21, 17 April 2006

back to COMREF

unit stop stop

Operand types:

unit: Object

stop: Boolean

Type of returned value:

Nothing

Description:

Stop AI unit.

This function is obsolete.

Use disableAI to get better control of stopping unit.


Example:

loon1 stop true