BlackICE Scripting

class

TargetTrackingExtension

  • 6 properties
  • 44 functions

Extends AITargetTrackerComponent game.Component ent.IComponent IScriptable ISerializable

Properties

PropertyTypeOffset
trackedCombatSquadsAICombatSquadScriptInterface?[]0x0 scripted
trackedCombatSquadsCountersint[]0x10 scripted
threatPersistanceMemoryThreatPersistanceMemory0x20 scripted
hasBeenSeenByPlayerbool0x40 scripted
canBeAddedToBossHealthbarbool0x41 scripted
playerPuppetWeakHandle<game.Object>0x48 scripted

Functions

  • void RegisterTrackedSquadMember(AICombatSquadScriptInterface cssi) RTTI
  • void RevaluateTrackedSquads() RTTI
  • void RemoveHostileCamerasFromThreats() RTTI
  • int SquadTrackedMembersAmount(AICombatSquadScriptInterface cssi) RTTI
  • bool IsSquadTracked(AICombatSquadScriptInterface cssi) RTTI
  • bool OnSeenByPlayerEvent(game.events.ProperlySeenByPlayerEvent evt) RTTI
  • void AddPotentialBossTarget(WeakHandle<game.Object> target) RTTI
  • bool OnSetThreatsPersistenceRequest(SetThreatsPersistenceRequest evt) RTTI
  • bool WasThreatPersistent(WeakHandle<ent.Entity> threat) RTTI
  • bool OnEnemyPushedToSquad(AIEnemyPushedToSquad evt) RTTI
  • bool OnHostJoinedSquad(AIHostJoinedSquad th) RTTI
  • bool OnHostLeftSquad(AIHostLeftSquad th) RTTI
  • void RemoveWholeSquadFromThreats(AICombatSquadScriptInterface cssi) RTTI
  • bool OnThreatRemoved(AIThreatRemoved th) RTTI
  • bool OnStoppedBeingTrackedAsHostile(AIStoppedBeingTrackedAsHostile evt) RTTI
  • void TryToRegisterTrackedSquad(ScriptedPuppet threat) RTTI
  • void OnHostileThreatAdded(WeakHandle<ent.Entity> owner, WeakHandle<ent.Entity> threat) RTTI
  • bool OnSquadmateDeath(OnSquadmateDied evt) RTTI
  • bool OnNewThreat(AINewThreat th) RTTI
  • bool OnHostileThreatDetected(AIHostileThreatDetected th) RTTI
  • bool OnPlayerHostileThreatDetected(PlayerHostileThreatDetected evt) RTTI
  • bool OnEnemyThreatDetected(AIEnemyThreatDetected th) RTTI
  • void TryToPlayVOOnCompanion(WeakHandle<ScriptedPuppet> owner, WeakHandle<game.Object> threat, bool detectedBySelf) RTTI
  • bool OnPullSquadSyncRequest(PullSquadSyncRequest evt) RTTI
  • static bool GetPlayerFromThreats(AITrackedLocation[] hostileThreats, out WeakHandle<game.Object> player) staticRTTI global
  • static void InjectThreat(WeakHandle<ScriptedPuppet> puppet, WeakHandle<ent.Entity> threat, float accuracy, float cooldown) staticRTTI global
  • static void OnHit(WeakHandle<ScriptedPuppet> ownerPuppet, game.events.HitEvent evt) staticRTTI global
  • static bool Get(WeakHandle<ScriptedPuppet> puppet, out WeakHandle<AITargetTrackerComponent> targetTracker) staticRTTI global
  • static void SetThreatPersistence(WeakHandle<ScriptedPuppet> puppet, WeakHandle<ent.Entity> target, bool isPersistent, uint persistenceSource) staticRTTI global
  • static void InjectThreat(WeakHandle<ScriptedPuppet> puppet, AITrackedLocation threat) staticRTTI global
  • static bool GetHostileThreats(AIbehaviorScriptExecutionContext context, bool visible, AITrackedLocation[] trackedLocations) staticRTTI global
  • static void RemoveThreat(WeakHandle<ScriptedPuppet> puppet, WeakHandle<ent.Entity> threat) staticRTTI global
  • static bool GetTrackedLocation(AIbehaviorScriptExecutionContext context, WeakHandle<ent.Entity> target, out AITrackedLocation trackedLocation) staticRTTI global
  • static bool Get(WeakHandle<ScriptedPuppet> puppet, out WeakHandle<TargetTrackingExtension> targetTracker) staticRTTI global
  • static void SetCurrentThreatsPersistence(WeakHandle<ScriptedPuppet> puppet, bool isPersistent, uint persistenceSource) staticRTTI global
  • static bool GetTopThreat(AIbehaviorScriptExecutionContext context, bool visible, out AITrackedLocation trackedLocation) staticRTTI global
  • static bool IsThreatInThreatList(WeakHandle<ScriptedPuppet> owner, WeakHandle<ent.Entity> threat, bool visible, bool hostile) staticRTTI global
  • static bool GetTrackedLocation(WeakHandle<ScriptedPuppet> puppet, WeakHandle<ent.Entity> target, out AITrackedLocation trackedLocation) staticRTTI global
  • static bool GetHostileThreats(WeakHandle<ScriptedPuppet> puppet, bool visible, AITrackedLocation[] trackedLocations) staticRTTI global
  • static bool GetStrong(AIbehaviorScriptExecutionContext context, out AITargetTrackerComponent targetTracker) staticRTTI global
  • static bool HasHostileThreat(WeakHandle<ScriptedPuppet> puppet, bool onlyVisible, bool onlyEntities) staticRTTI global
  • static void InjectThreat(WeakHandle<ScriptedPuppet> puppet, WeakHandle<ent.Entity> threat) staticRTTI global
  • static void InjectThreat(WeakHandle<ScriptedPuppet> puppet, Vector4 pos, float timeToLive) staticRTTI global
  • static bool Get(AIbehaviorScriptExecutionContext context, out WeakHandle<AITargetTrackerComponent> targetTracker) staticRTTI global