Airplane¶
Constructors¶
Constructor |
Description |
---|---|
Members¶
Member |
Description |
---|---|
The radius of the vehicle’s specified avoidance size |
|
Returns true if there is a line of sight between the vehicle’s lock on point and the player camera |
|
Returns true if this vehicle is an Airplane. |
|
True while one or more target tracking weapons are locking onto this vehicle |
|
Returns true if this vehicle is a Boat. |
|
Returns true if this vehicle is a Car. |
|
Returns true if this vehicle is a Helicopter. |
|
True while one or more missiles are tracking this vehicle |
|
Returns true if vehicle is marked as a Turret. |
|
Methods¶
Method |
Description |
---|---|
Get the first available empty seat in the vehicle. |
|
Returns all missile projectiles that are currently tracking this vehicle. |
|
Repairs the vehicle by the specified health amount. |
|
Details¶
-
class
Airplane
¶ -
-
float
acceleration
¶
-
float
accelerationThrottleDown
¶
-
float
accelerationThrottleUp
¶
-
bool
airbrake
¶
-
float
altitude
¶
-
float
autoPitchTorqueGain
¶
-
const float
avoidanceRadius
¶ The radius of the vehicle’s specified avoidance size
-
float
baseLift
¶
-
const bool
canSeePlayer
¶ Returns true if there is a line of sight between the vehicle’s lock on point and the player camera
-
float
controlWhenBurning
¶
-
AnimationCurve
controlVsAngleOfAttack
¶
-
float
flightAltitudeMultiplier
¶
-
const GameObject
gameObject
¶
-
bool
gearsRetracted
¶
-
const bool
hasCountermeasures
¶
-
const bool
hasDriver
¶
-
float
health
¶
-
bool
isAirborne
¶
-
const bool
isAirplane
¶ Returns true if this vehicle is an Airplane. If true, you can safely access fields via the Airplane class API.
-
const bool
isBeingLocked
¶ True while one or more target tracking weapons are locking onto this vehicle
-
const bool
isBoat
¶ Returns true if this vehicle is a Boat. If true, you can safely access fields via the Boat class API.
-
const bool
isBurning
¶
-
const bool
isCar
¶ Returns true if this vehicle is a Car. If true, you can safely access fields via the Car class API.
-
const bool
isDead
¶
-
const bool
isEmpty
¶
-
const bool
isFull
¶
-
const bool
isHelicopter
¶ Returns true if this vehicle is a Helicopter. If true, you can safely access fields via the Helicopter class API.
-
const bool
isInWater
¶
-
const bool
isTrackedByMissile
¶ True while one or more missiles are tracking this vehicle
-
const bool
isTurret
¶ Returns true if vehicle is marked as a Turret.
-
array<GameObject>
landingGearActivationObjects
¶
-
float
liftGainTime
¶
-
AnimationCurve
liftVsAngleOfAttack
¶
-
float
maxHealth
¶
-
const string
name
¶
-
float
perpendicularDrag
¶
-
float
pitchSensitivity
¶
-
const float
playerDistance
¶
-
const bool
playerIsInside
¶
-
float
rollSensitivity
¶
-
float
spotChanceMultiplier
¶
-
const int
team
¶
-
float
throttleEngineAudioPitchControl
¶
-
float
yawSensitivity
¶
-
array<TargetSeekingMissileProjectile>
GetTrackingMissiles
()¶ Returns all missile projectiles that are currently tracking this vehicle.
-
bool
IsAirborne
()¶
-
bool
Repair
(float amount)¶ Repairs the vehicle by the specified health amount. Returns true if the vehicle was healed (that is, if it was not already at max health.)
-
void
StartBurning
(DamageInfo info)¶
-
string
ToString
()¶
-
float