BulletEntityData

Inherits from MeshProjectileEntityData

Summary

Constructors

BulletEntityData()
BulletEntityData(guid: Guid)
BulletEntityData(other: MeshProjectileEntityData)
BulletEntityData(other: ProjectileEntityData)
BulletEntityData(other: GamePhysicsEntityData)
BulletEntityData(other: GameEntityData)
BulletEntityData(other: SpatialEntityData)
BulletEntityData(other: EntityData)
BulletEntityData(other: GameObjectData)
BulletEntityData(other: GameDataContainer)
BulletEntityData(other: DataContainer)

Properties

Name Type
stamina float
flyBySound SoundAsset | nil
dudExplosion ExplosionEntityData | nil
gravity float
impactImpulse float
detonationTimeVariation float
vehicleDetonationRadius float
vehicleDetonationActivationDelay float
flyBySoundRadius float
flyBySoundSpeed float
firstFrameTravelDistance float
distributeDamageOverTime float
startDamage float
endDamage float
damageFalloffStartDistance float
damageFalloffEndDistance float
timeToArmExplosion float
hasVehicleDetonation bool
instantHit bool
stopTrailEffectOnUnspawn bool

Static members

Name Type
BulletEntityData.typeInfo TypeInformation

Constructors

BulletEntityData

BulletEntityData()

Creates a new BulletEntityData frostbite instance.

BulletEntityData

BulletEntityData(guid: Guid)

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

Parameters

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

BulletEntityData

BulletEntityData(other: MeshProjectileEntityData)

Casts an instance of type MeshProjectileEntityData to BulletEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other MeshProjectileEntityData The instance to cast to BulletEntityData.

BulletEntityData

BulletEntityData(other: ProjectileEntityData)

Casts an instance of type ProjectileEntityData to BulletEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other ProjectileEntityData The instance to cast to BulletEntityData.

BulletEntityData

BulletEntityData(other: GamePhysicsEntityData)

Casts an instance of type GamePhysicsEntityData to BulletEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GamePhysicsEntityData The instance to cast to BulletEntityData.

BulletEntityData

BulletEntityData(other: GameEntityData)

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

Parameters

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

BulletEntityData

BulletEntityData(other: SpatialEntityData)

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

Parameters

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

BulletEntityData

BulletEntityData(other: EntityData)

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

Parameters

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

BulletEntityData

BulletEntityData(other: GameObjectData)

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

Parameters

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

BulletEntityData

BulletEntityData(other: GameDataContainer)

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

Parameters

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

BulletEntityData

BulletEntityData(other: DataContainer)

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

Parameters

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

Properties

stamina

float

flyBySound

SoundAsset | nil

dudExplosion

ExplosionEntityData | nil

gravity

float

impactImpulse

float

detonationTimeVariation

float

vehicleDetonationRadius

float

vehicleDetonationActivationDelay

float

flyBySoundRadius

float

flyBySoundSpeed

float

firstFrameTravelDistance

float

distributeDamageOverTime

float

startDamage

float

endDamage

float

damageFalloffStartDistance

float

damageFalloffEndDistance

float

timeToArmExplosion

float

hasVehicleDetonation

bool

instantHit

bool

stopTrailEffectOnUnspawn

bool

Static members

typeInfo

TypeInformation

The type information for the BulletEntityData type.

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