PickupEntityData

Inherits from GamePhysicsEntityData

Summary

Constructors

PickupEntityData()
PickupEntityData(guid: Guid)
PickupEntityData(other: GamePhysicsEntityData)
PickupEntityData(other: GameEntityData)
PickupEntityData(other: SpatialEntityData)
PickupEntityData(other: EntityData)
PickupEntityData(other: GameObjectData)
PickupEntityData(other: GameDataContainer)
PickupEntityData(other: DataContainer)

Properties

Name Type
randomizeAmmoOnDropForPlayer PickupPlayerEnum
minRandomClipAmmoPercent int
physicsBlueprint ObjectBlueprint | nil
mesh MeshAsset | nil
maxRandomClipAmmoPercent int
preferredWeaponSlot int
timeToLive float
minRandomSpareAmmoPercent int
interactionRadius float
maxRandomSpareAmmoPercent int
unspawnOnPickup bool
unspawnOnAmmoPickup bool
forceWeaponSlotSelection bool
displayInMiniMap bool
hasAutomaticAmmoPickup bool
useWeaponMesh bool
allowPickup bool
contentIsStatic bool
positionIsStatic bool
ignoreNullWeaponSlots bool
replaceAllContent bool
removeWeaponOnDrop bool
sendPlayerInEventOnPickup bool

Static members

Name Type
PickupEntityData.typeInfo TypeInformation

Constructors

PickupEntityData

PickupEntityData()

Creates a new PickupEntityData frostbite instance.

PickupEntityData

PickupEntityData(guid: Guid)

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

Parameters

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

PickupEntityData

PickupEntityData(other: GamePhysicsEntityData)

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

Parameters

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

PickupEntityData

PickupEntityData(other: GameEntityData)

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

Parameters

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

PickupEntityData

PickupEntityData(other: SpatialEntityData)

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

Parameters

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

PickupEntityData

PickupEntityData(other: EntityData)

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

Parameters

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

PickupEntityData

PickupEntityData(other: GameObjectData)

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

Parameters

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

PickupEntityData

PickupEntityData(other: GameDataContainer)

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

Parameters

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

PickupEntityData

PickupEntityData(other: DataContainer)

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

Parameters

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

Properties

randomizeAmmoOnDropForPlayer

PickupPlayerEnum

minRandomClipAmmoPercent

int

physicsBlueprint

ObjectBlueprint | nil

mesh

MeshAsset | nil

maxRandomClipAmmoPercent

int

preferredWeaponSlot

int

timeToLive

float

minRandomSpareAmmoPercent

int

interactionRadius

float

maxRandomSpareAmmoPercent

int

unspawnOnPickup

bool

unspawnOnAmmoPickup

bool

forceWeaponSlotSelection

bool

displayInMiniMap

bool

hasAutomaticAmmoPickup

bool

useWeaponMesh

bool

allowPickup

bool

contentIsStatic

bool

positionIsStatic

bool

ignoreNullWeaponSlots

bool

replaceAllContent

bool

removeWeaponOnDrop

bool

sendPlayerInEventOnPickup

bool

Static members

typeInfo

TypeInformation

The type information for the PickupEntityData type.

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