moveInTurret

From Bohemia Interactive Community
Revision as of 21:56, 1 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


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