Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

X2SiegeWeapon

Globals

X2SiegeWeapon

X2SiegeWeapon

Classes

Class: X2SiegeWeapon

Method: GetSiegeWeaponSpeed

(method) X2SiegeWeapon:GetSiegeWeaponSpeed()
  -> siegeWeaponSpeed: number

Retrieves the speed of the currently driven vehicle.

@return siegeWeaponSpeed — The vehicle’s speed.

Method: GetSiegeWeaponTurnSpeed

(method) X2SiegeWeapon:GetSiegeWeaponTurnSpeed()
  -> siegeWeaponTurnSpeed: number

Retrieves the turning speed of the currently driven vehicle.

@return siegeWeaponTurnSpeed — The vehicle’s turning speed.