moveInTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 3: Line 3:




<h2 style="color:#000066">''soldier'' ''' moveInTurret''' ''[vehicle, turret path]''</h2>
<h2 style="color:#000066">'''''soldier'' moveInTurret ''[vehicle, turret path]'''''</h2>




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


soldier: [[Object]]
'''soldier:''' [[Object]]


[vehicle, turret path]: [[Array]]
'''[vehicle, turret path]:''' [[Array]]


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

Revision as of 21:56, 1 July 2006


soldier moveInTurret [vehicle, turret path]


Operand types:

soldier: Object

[vehicle, turret path]: Array

Type of returned value:

Nothing

Compatibility:

Version 2.92 required.

Description:

Moves the soldier into the vehicle's turret. (Immediately, without animation).

Example:

soldierOne moveInTurret [tank, [0, 0]]