LookAtTriggerEntityData

Inherits from TriggerEventEntityData

Summary

Constructors

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

Properties

Name Type
fov float
weapon SoldierWeaponBlueprint | nil
zoomLevel int
minDistanceToObject float
maxDistanceToObject float
startTriggerLookingAt bool
checkOcclusion bool

Static members

Name Type
LookAtTriggerEntityData.typeInfo TypeInformation

Constructors

LookAtTriggerEntityData

LookAtTriggerEntityData()

Creates a new LookAtTriggerEntityData frostbite instance.

LookAtTriggerEntityData

LookAtTriggerEntityData(guid: Guid)

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

Parameters

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

LookAtTriggerEntityData

LookAtTriggerEntityData(other: TriggerEventEntityData)

Casts an instance of type TriggerEventEntityData to LookAtTriggerEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other TriggerEventEntityData The instance to cast to LookAtTriggerEntityData.

LookAtTriggerEntityData

LookAtTriggerEntityData(other: TriggerEntityData)

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

Parameters

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

LookAtTriggerEntityData

LookAtTriggerEntityData(other: GameEntityData)

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

Parameters

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

LookAtTriggerEntityData

LookAtTriggerEntityData(other: SpatialEntityData)

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

Parameters

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

LookAtTriggerEntityData

LookAtTriggerEntityData(other: EntityData)

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

Parameters

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

LookAtTriggerEntityData

LookAtTriggerEntityData(other: GameObjectData)

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

Parameters

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

LookAtTriggerEntityData

LookAtTriggerEntityData(other: GameDataContainer)

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

Parameters

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

LookAtTriggerEntityData

LookAtTriggerEntityData(other: DataContainer)

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

Parameters

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

Properties

fov

float

weapon

SoldierWeaponBlueprint | nil

zoomLevel

int

minDistanceToObject

float

maxDistanceToObject

float

startTriggerLookingAt

bool

checkOcclusion

bool

Static members

typeInfo

TypeInformation

The type information for the LookAtTriggerEntityData type.

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