-
Notifications
You must be signed in to change notification settings - Fork 0
KAI_HitChanceTracer
Parent class: KAI_LOFRaycast
This raycast is fired by the Smart check of DetermineHitChance(), and is used to detect which of an NPCs' projectiles or hitscans will hit their target. As a smarter alternative to hardcoded distance checks like If (Distance <= 123)
.
Type: Boolean
If true, then that means that one of the tracers' Trace() calls successfully hit an enemy. This boolean is counted, and then reset by DetermineHitChance() for the next Trace().
Type: Boolean
If true, then any actor hostile to the tracers' Shooter will also be counted as a Success, instead of only counting hits to the Other actor itself as successful.
Type: Boolean
Used in conjunction with HostilesToo, adds any hostile actors (Including Other) to the Mobjs array, so that they will be ignored by subsequent Trace() calls. This can be used to further increase the successful hits if the NPC is firing inside a crowd of enemies.
- Home
- Features
- Classes
- Functions
- Guides