FriendlyFireEntityData

Inherits from EntityData

Summary

Constructors

FriendlyFireEntityData()
FriendlyFireEntityData(guid: Guid)
FriendlyFireEntityData(other: EntityData)
FriendlyFireEntityData(other: GameObjectData)
FriendlyFireEntityData(other: GameDataContainer)
FriendlyFireEntityData(other: DataContainer)

Properties

Name Type
teams TeamId[]
enemyCommitmentAllocation float
friendlyCommitmentAllocation float
maxCommitment float
failureThreshold float
decayRate float

Static members

Name Type
FriendlyFireEntityData.typeInfo TypeInformation

Constructors

FriendlyFireEntityData

FriendlyFireEntityData()

Creates a new FriendlyFireEntityData frostbite instance.

FriendlyFireEntityData

FriendlyFireEntityData(guid: Guid)

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

Parameters

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

FriendlyFireEntityData

FriendlyFireEntityData(other: EntityData)

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

Parameters

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

FriendlyFireEntityData

FriendlyFireEntityData(other: GameObjectData)

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

Parameters

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

FriendlyFireEntityData

FriendlyFireEntityData(other: GameDataContainer)

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

Parameters

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

FriendlyFireEntityData

FriendlyFireEntityData(other: DataContainer)

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

Parameters

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

Properties

teams

TeamId[]

enemyCommitmentAllocation

float

friendlyCommitmentAllocation

float

maxCommitment

float

failureThreshold

float

decayRate

float

Static members

typeInfo

TypeInformation

The type information for the FriendlyFireEntityData type.

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