Click or drag to resize

Vehicle Properties

The Vehicle type exposes the following members.

Properties
  NameDescription
Public propertyAlarm
Gets or sets this vehicle's alarm state. If True the alarm is (or was) sounding.
Public propertyAngle
Gets or sets the Z angle of this vehicle.
Public propertyBonnet
Gets or sets the bonnet/hood status of this vehicle. If True, it's open.
Public propertyBoot
Gets or sets the boot/trunk status of this vehicle. True means it is open.
Public propertyDoors
Gets or sets the lock status of the doors of this vehicle. If True the doors are locked.
Public propertyEngine
Gets or sets this vehicle's engine status. If True, the engine is running.
Public propertyEntity
Gets the entity to which this component has been attached.
(Inherited from Component.)
Public propertyHasTrailer
Gets whether this vehicle has a trailer attached to it.
Public propertyHealth
Gets or sets the health of this vehicle.
Public propertyIsBackLeftDoorOpen
Gets or sets a value indicating whether the driver door is open.
Public propertyIsBackLeftWindowClosed
Gets or sets a value indicating whether the driver window is closed.
Public propertyIsBackRightDoorOpen
Gets or sets a value indicating whether the driver door is open.
Public propertyIsBackRightWindowClosed
Gets or sets a value indicating whether the driver window is closed.
Public propertyIsComponentAlive
Gets a value indicating whether this component is alive (has not been destroyed).
(Inherited from Component.)
Public propertyIsDriverDoorOpen
Gets or sets a value indicating whether the driver door is open.
Public propertyIsDriverWindowClosed
Gets or sets a value indicating whether the driver window is closed.
Public propertyIsPassengerDoorOpen
Gets or sets a value indicating whether the passenger door is open.
Public propertyIsPassengerWindowClosed
Gets or sets a value indicating whether the passenger window is closed.
Public propertyIsSirenOn
Gets a value indicating whether this Vehicle's siren is on.
Public propertyLights
Gets or sets this vehicle's lights' state. If True the lights are on.
Public propertyModel
Gets the model ID of this vehicle.
Public propertyObjective
Gets or sets the objective status of this vehicle. True means the objective is on.
Public propertyParent
Gets the parent entity of the entity to which this component has been attached.
(Inherited from Component.)
Public propertyPosition
Gets or sets the position of this vehicle.
Public propertyRotation
Gets or sets the rotation of this vehicle.
Public propertyRotationQuaternion
Gets this vehicle's rotation on all axis as a quaternion.
Public propertyTrailer
Gets or sets the the trailer attached to this vehicle.
Public propertyVelocity
Gets or sets the velocity at which this vehicle is moving.
Public propertyVirtualWorld
Gets or sets the virtual world of this vehicle.
Top
See Also