TargetTrackerComponent
classnative name AITargetTrackerComponentnative
extends GameComponent › IComponent › IScriptable › ISerializable
Extended by 1 type
Properties 1
| Name | Type | Flags |
|---|---|---|
TriggersCombat | Bool | overriding |
Methods 50
native func ActivateThreat(et: ref<Entity>)
native func AddDroppingCooldown(et: ref<Entity>, value: Float)
native func AddThreat(et: ref<Entity>, isHostile: Bool, pos: Vector4, accuracy: Float, cooldown: Float, isPersistent: Bool) -> Uint32
native func AddThreatOnPosition(pos: Vector4, timeToLive: Float) -> Uint32
native func ClearForceDetected()native func ClearThreats()native func CollectTrackers(onlyHostiles: Bool, onlyInContact: Bool) -> array<ref<Entity>>
native func DeactivateThreat(et: ref<Entity>)
native func GetCurrentPreset() -> TweakDBID
native func GetDroppingCooldown(et: ref<Entity>) -> Float
native func GetHostileThreats(onlyVisible: Bool) -> array<TrackedLocation>
native func GetRecentlyDroppedThreat() -> DroppedThreatData
native func GetThreatBeliefPositionProvider(threat: wref<Entity>, opt offset: Vector3, opt failIfVisible: Bool, opt slotName: CName, opt failSafeProvider: ref<IPositionProvider>) -> ref<IPositionProvider>
native func GetThreatLastKnownPositionProvider(threat: wref<Entity>, opt offset: Vector3, opt failIfVisible: Bool, opt slotName: CName, opt failSafeProvider: ref<IPositionProvider>) -> ref<IPositionProvider>
native func GetThreatPersistence(et: ref<Entity>) -> AIThreatPersistenceStatus
native func GetThreatPersistenceBySource(et: ref<Entity>, src: Uint32) -> AIThreatPersistenceStatus
native func GetThreatPriorityModFromAttackersCurve(attackers: Uint32) -> Float
native func GetThreatPriorityModFromDistCurve(distanceFromThreat: Float) -> Float
native func GetThreatPriorityModFromDmgCurve(timeSinceLastDmg: Float) -> Float
native func GetThreatPriorityModFromHisteresisCurve(timeSinceTargetChange: Float) -> Float
native func GetThreats(onlyVisible: Bool) -> array<TrackedLocation>
native func GetTopHostileThreat(onlyVisible: Bool, out threat: TrackedLocation) -> Bool
native func GetVisibleThreatBeliefAccuracy(et: ref<Entity>) -> Float
native func HasHostileThreat(onlyVisible: Bool, opt onlyEntities: Bool) -> Bool
native func IsPositionValid(pos: Vector4) -> Bool
native func MapThreat(et: ref<Entity>) -> Uint32
native func PullSquadSync(sqType: AISquadType)
native func PushSquadSync(sqType: AISquadType)
native func RegisterListener(et: ref<Entity>, listener: ref<AIScriptsTargetTrackingListener>)
native func RemoveThreat(id: Uint32)
native func RemoveThreatBeliefAccuracyMinValue(et: ref<Entity>, reason: CName)
native func RequestThreatBeliefAccuracyMinValue(et: ref<Entity>, reason: CName, minAccuracy: Float)
native func ResetDroppingCooldown(et: ref<Entity>)
native func ResetRecentlyDroppedThreat(opt delay: Float)
native func ResetRecentlyDroppedThreatNoCallbacks()native func SetCurrentPreset(presetId: TweakDBID)
native func SetCurrentThreatsPersistence(isPersistent: Bool, src: Uint32)
native func SetForceDetect()native func SetThreatAccuracy(et: ref<Entity>, accuracy: Float)
native func SetThreatBaseMul(et: ref<Entity>, threatValue: Float)
native func SetThreatBeliefAccuracy(et: ref<Entity>, accuracy: Float)
native func SetThreatPersistence(et: ref<Entity>, isPersistent: Bool, src: Uint32)
native func SetThreatPriorityAttackersCurve(curveName: CName) -> Bool
native func SetThreatPriorityDistCurve(curveName: CName) -> Bool
native func SetThreatPriorityDmgCurve(curveName: CName) -> Bool
native func SetThreatPriorityHisteresisCurve(curveName: CName) -> Bool
native func ThreatFromEntity(et: ref<Entity>, out threat: TrackedLocation) -> Bool