Vehicle

Vehicle

Level Object
Component
Combine:
Level Object
Resetable
Buffable
Collider
Combatable

Properties

Name Type Description Script Name
EngineTorque Float The horsepower given to the vehicle when the gas pedal is used EngineTorque
BrakeTorque Float The horsepower given to the vehicle when Brake/Reverse is used BrakeTorque
HighSpeedSteerAngle Float Read Only
The maximum steering angle while in a high-speed state
HighSpeedSteerAngle
HighSpeedSteerAngleAtspeed Float Read Only
The speed threshold for the maximum high-speed steering angle
HighSpeedSteerAngleAtSpeed
Max Speed Float No more horsepower will be generated after the max speed is reached, but the vehicle speed may go over the limit (e.g. through acceleration when going down a hill). MaxSpeed
IdleBrakeInput Float Read Only
When not driving a vehicle, decelerate it by (Idle Brake Input) x (Brake Torque).
IdleBrakeInput
CrashMessFactor Float A parameter used in the damage formula for crash damage calculation CrashMessFactor
Crash Max. Speed Float Used for crash damage calculation. Once exceeding this speed, no more damage will be added. CrashMaxSpeed
CrashMinDamage Float The minimum crash damage used for damage calculation CrashMinDamage
CrashMaxDamage Float The maximum crash damage used for damage calculation CrashMaxDamage
Explosion Delay Float \ ExplodeDelay
Explosion Range Float \ ExplodeRange
Explosion Damage Int \ ExplodeDamage
Burning Time Float \ BurnTime
Burning Damage Int \ BurnDamage
Burning Damage Interval Float \ BurningDamageInterval
HP Int \ HP
Driver Player Read Only
The driver of the vehicle
Driver
Passengers Player List Read Only
All the passengers in the vehicle
Passengers
Vehicle Skin ID Vehicle Skin ID \ VehicleSkinID
Prioritize Player Configuration Bool \ OverloadByPlayerConfiguration
Max. HP Int \ MaxHP
HP Int \ CurrentHP

Event

Name Description
On Entered Triggered when a vehicle is entered by an entity
On Left Triggered when a vehicle has an entity leave it
On Drived Triggered when the vehicle is driven by an entity

API

Name Description
Enter Vehicle Forces the target player to enter the specified vehicle