Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.67

Description

Description:Enables / disables smooth transitions of turret direction change. When the transition is enabled, the turret smoothly changes its direction from the old one to the new one. When the transition is disabled, the direction change is immediate.

Syntax

Syntax:vehicle enableTurretTrans [turretPath, enableTransition]
Parameters:
  • vehicle: Object - The vehicle whose smooth turret transition is enabled / disabled.
  • turretPath: Array - The path to the turret.
  • enableTransition: Boolean - Enable / disable smooth turret transition (optional, default: true).
Return Value:Nothing

Examples

Examples:
myTank enableTurretTrans [[0], false]

Additional Information

See also: setTurretMaster, setWeaponDirection
Multiplayer: 
Problems: 

Notes