VehicleStateTriggerEntityData

Inherits from TriggerEntityData

Summary

Constructors

VehicleStateTriggerEntityData()
VehicleStateTriggerEntityData(guid: Guid)
VehicleStateTriggerEntityData(other: TriggerEntityData)
VehicleStateTriggerEntityData(other: GameEntityData)
VehicleStateTriggerEntityData(other: SpatialEntityData)
VehicleStateTriggerEntityData(other: EntityData)
VehicleStateTriggerEntityData(other: GameObjectData)
VehicleStateTriggerEntityData(other: GameDataContainer)
VehicleStateTriggerEntityData(other: DataContainer)

Properties

Name Type
lockAmount float
bulletCount int
healthToSet int
seatSpecificIndexForHuman int
seatSpecificIndexForAi int
destructionRadius float
healthToCheck int
allowHumanToEnterAllSeats bool
allowAiToEnterAllSeats bool
banAiFromSpecificSeat bool
triggerCriticalOnHealthSet bool
checkHealthGreaterOrEqual bool
restrictHumanToSpecificSeat bool
shouldDestroyVehicles bool
shouldDestroyBangers bool

Static members

Name Type
VehicleStateTriggerEntityData.typeInfo TypeInformation

Constructors

VehicleStateTriggerEntityData

VehicleStateTriggerEntityData()

Creates a new VehicleStateTriggerEntityData frostbite instance.

VehicleStateTriggerEntityData

VehicleStateTriggerEntityData(guid: Guid)

Creates a new VehicleStateTriggerEntityData frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

VehicleStateTriggerEntityData

VehicleStateTriggerEntityData(other: TriggerEntityData)

Casts an instance of type TriggerEntityData to VehicleStateTriggerEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other TriggerEntityData The instance to cast to VehicleStateTriggerEntityData.

VehicleStateTriggerEntityData

VehicleStateTriggerEntityData(other: GameEntityData)

Casts an instance of type GameEntityData to VehicleStateTriggerEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameEntityData The instance to cast to VehicleStateTriggerEntityData.

VehicleStateTriggerEntityData

VehicleStateTriggerEntityData(other: SpatialEntityData)

Casts an instance of type SpatialEntityData to VehicleStateTriggerEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other SpatialEntityData The instance to cast to VehicleStateTriggerEntityData.

VehicleStateTriggerEntityData

VehicleStateTriggerEntityData(other: EntityData)

Casts an instance of type EntityData to VehicleStateTriggerEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other EntityData The instance to cast to VehicleStateTriggerEntityData.

VehicleStateTriggerEntityData

VehicleStateTriggerEntityData(other: GameObjectData)

Casts an instance of type GameObjectData to VehicleStateTriggerEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameObjectData The instance to cast to VehicleStateTriggerEntityData.

VehicleStateTriggerEntityData

VehicleStateTriggerEntityData(other: GameDataContainer)

Casts an instance of type GameDataContainer to VehicleStateTriggerEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameDataContainer The instance to cast to VehicleStateTriggerEntityData.

VehicleStateTriggerEntityData

VehicleStateTriggerEntityData(other: DataContainer)

Casts an instance of type DataContainer to VehicleStateTriggerEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to VehicleStateTriggerEntityData.

Properties

lockAmount

float

bulletCount

int

healthToSet

int

seatSpecificIndexForHuman

int

seatSpecificIndexForAi

int

destructionRadius

float

healthToCheck

int

allowHumanToEnterAllSeats

bool

allowAiToEnterAllSeats

bool

banAiFromSpecificSeat

bool

triggerCriticalOnHealthSet

bool

checkHealthGreaterOrEqual

bool

restrictHumanToSpecificSeat

bool

shouldDestroyVehicles

bool

shouldDestroyBangers

bool

Static members

typeInfo

TypeInformation

The type information for the VehicleStateTriggerEntityData type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351c)