TargetTrackingExtension class
TargetTrackingExtension
Inheritance
Base: AITargetTrackerComponent
Derived
None.
Properties
| Property | Type | |
|---|---|---|
trackedCombatSquads | AICombatSquadScriptInterface?[] | scripted |
trackedCombatSquadsCounters | int[] | scripted |
threatPersistanceMemory | ThreatPersistanceMemory | scripted |
hasBeenSeenByPlayer | bool | scripted |
canBeAddedToBossHealthbar | bool | scripted |
playerPuppet | WeakHandle<game.Object> | scripted |
Functions
void RegisterTrackedSquadMember(AICombatSquadScriptInterface cssi)RTTIvoid RevaluateTrackedSquads()RTTIvoid RemoveHostileCamerasFromThreats()RTTIint SquadTrackedMembersAmount(AICombatSquadScriptInterface cssi)RTTIbool IsSquadTracked(AICombatSquadScriptInterface cssi)RTTIbool OnSeenByPlayerEvent(game.events.ProperlySeenByPlayerEvent evt)RTTIvoid AddPotentialBossTarget(WeakHandle<game.Object> target)RTTIbool OnSetThreatsPersistenceRequest(SetThreatsPersistenceRequest evt)RTTIbool WasThreatPersistent(WeakHandle<ent.Entity> threat)RTTIbool OnEnemyPushedToSquad(AIEnemyPushedToSquad evt)RTTIbool OnHostJoinedSquad(AIHostJoinedSquad th)RTTIbool OnHostLeftSquad(AIHostLeftSquad th)RTTIvoid RemoveWholeSquadFromThreats(AICombatSquadScriptInterface cssi)RTTIbool OnThreatRemoved(AIThreatRemoved th)RTTIbool OnStoppedBeingTrackedAsHostile(AIStoppedBeingTrackedAsHostile evt)RTTIvoid TryToRegisterTrackedSquad(ScriptedPuppet threat)RTTIvoid OnHostileThreatAdded(WeakHandle<ent.Entity> owner, WeakHandle<ent.Entity> threat)RTTIbool OnSquadmateDeath(OnSquadmateDied evt)RTTIbool OnNewThreat(AINewThreat th)RTTIbool OnHostileThreatDetected(AIHostileThreatDetected th)RTTIbool OnPlayerHostileThreatDetected(PlayerHostileThreatDetected evt)RTTIbool OnEnemyThreatDetected(AIEnemyThreatDetected th)RTTIvoid TryToPlayVOOnCompanion(WeakHandle<ScriptedPuppet> owner, WeakHandle<game.Object> threat, bool detectedBySelf)RTTIbool OnPullSquadSyncRequest(PullSquadSyncRequest evt)RTTIstatic bool GetPlayerFromThreats(AITrackedLocation[] hostileThreats, WeakHandle<game.Object> player)staticRTTI globalstatic void InjectThreat(WeakHandle<ScriptedPuppet> puppet, WeakHandle<ent.Entity> threat, float accuracy, float cooldown)staticRTTI globalstatic void OnHit(WeakHandle<ScriptedPuppet> ownerPuppet, game.events.HitEvent evt)staticRTTI globalstatic bool Get(WeakHandle<ScriptedPuppet> puppet, WeakHandle<AITargetTrackerComponent> targetTracker)staticRTTI globalstatic void SetThreatPersistence(WeakHandle<ScriptedPuppet> puppet, WeakHandle<ent.Entity> target, bool isPersistent, uint persistenceSource)staticRTTI globalstatic void InjectThreat(WeakHandle<ScriptedPuppet> puppet, AITrackedLocation threat)staticRTTI globalstatic bool GetHostileThreats(AIbehaviorScriptExecutionContext context, bool visible, AITrackedLocation[] trackedLocations)staticRTTI globalstatic void RemoveThreat(WeakHandle<ScriptedPuppet> puppet, WeakHandle<ent.Entity> threat)staticRTTI globalstatic bool GetTrackedLocation(AIbehaviorScriptExecutionContext context, WeakHandle<ent.Entity> target, AITrackedLocation trackedLocation)staticRTTI globalstatic bool Get(WeakHandle<ScriptedPuppet> puppet, WeakHandle<TargetTrackingExtension> targetTracker)staticRTTI globalstatic void SetCurrentThreatsPersistence(WeakHandle<ScriptedPuppet> puppet, bool isPersistent, uint persistenceSource)staticRTTI globalstatic bool GetTopThreat(AIbehaviorScriptExecutionContext context, bool visible, AITrackedLocation trackedLocation)staticRTTI globalstatic bool IsThreatInThreatList(WeakHandle<ScriptedPuppet> owner, WeakHandle<ent.Entity> threat, bool visible, bool hostile)staticRTTI globalstatic bool GetTrackedLocation(WeakHandle<ScriptedPuppet> puppet, WeakHandle<ent.Entity> target, AITrackedLocation trackedLocation)staticRTTI globalstatic bool GetHostileThreats(WeakHandle<ScriptedPuppet> puppet, bool visible, AITrackedLocation[] trackedLocations)staticRTTI globalstatic bool GetStrong(AIbehaviorScriptExecutionContext context, AITargetTrackerComponent targetTracker)staticRTTI globalstatic bool HasHostileThreat(WeakHandle<ScriptedPuppet> puppet, bool onlyVisible, bool onlyEntities)staticRTTI globalstatic void InjectThreat(WeakHandle<ScriptedPuppet> puppet, WeakHandle<ent.Entity> threat)staticRTTI globalstatic void InjectThreat(WeakHandle<ScriptedPuppet> puppet, Vector4 pos, float timeToLive)staticRTTI globalstatic bool Get(AIbehaviorScriptExecutionContext context, WeakHandle<AITargetTrackerComponent> targetTracker)staticRTTI global