KAI_BasicSightCheck - inkoalawetrust/KAI GitHub Wiki

KAI_BasicSightCheck

Parent class: KAI_LOFRaycast

Description

This class is a raycast alternative to CheckSight() due to the scope system not allowing the function to be called from within a [KAI_LOFRaycast]] tracer. It's used by [CheckSightTo().

Variables

GoodLOS

Type: Boolean

Returns true if SightTarget is in sight of Shooter. False otherwise.

SightTarget

Type: Actor pointer

The actor that the Shooter is looking for.

NoBlockSight

Type: Boolean

Set to true if the sight trace should ignore sight blocking lines. False otherwise.