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#U|COMREF]]


<h2 style="color:#000066">''unit '''''stop '''''stop</h2>
<h2 style="color:#000066">'''''unit'' stop ''stop'''''</h2>


'''Operand types:'''
'''Operand types:'''


unit: [[Object]]
'''unit:''' [[Object]]


stop: [[Boolean]]
'''stop:''' [[Boolean]]


'''Type of returned value:'''
'''Type of returned value:'''


Nothing
[[Nothing]]


'''Description:'''
'''Description:'''
Line 17: Line 17:
Stop AI unit.
Stop AI unit.


''Note: ''This function is obsolete.
'''Note:''' This function is obsolete.
 
Use [[disableAI]] to get better control of stopping unit.


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


'''Example:'''
'''Example:'''


loon1 '''stop''' true
loon1 '''stop''' [[true]]

Revision as of 13:20, 17 April 2006

back to COMREF

unit stop stop

Operand types:

unit: Object

stop: Boolean

Type of returned value:

Nothing

Description:

Stop AI unit.

Note: This function is obsolete.

Use disableAI to get better control of stopping unit.


Example:

loon1 stop true