-
Notifications
You must be signed in to change notification settings - Fork 0
KAI_Humanoid
Parent class: KAI_Creature
This is the base class for NPCs that are more intelligent than creature NPCs. For example, a simple, animalistic monster can be based on KAI_Creature, while a more intelligent, elite monster, with tactics like knowing when to back off, working in groups, or dodging projectiles is based on KAI_Humanoid. Despite the class name, this is not strictly limited to human or humanoid NPCs. Humanoid NPCs are also the only ones that can use emplacements.
Type: KAI_Emplacement
A pointer to the emplacement that the NPC is currently on, if any. When an NPC is "on" an emplacement they're actually morphed. So to check what the NPC is doing now, check their Alternative pointer, which should hold a reference to the KAI_EmplacementNPC they morphed into.
Called when the NPC enters an emplacement.
Called when the NPC exits an emplacement.
- Home
- Features
- Classes
- Functions
- Guides