-
Notifications
You must be signed in to change notification settings - Fork 0
KAI_EmplacementNPC
inkoalawetrust edited this page Sep 21, 2024
·
1 revision
Parent class: KAI_Actor
The base NPC class that KAI_Humanoids morph into when they use an emplacement. The class serves the following functions:
- A distinct class to distinguish NPC morphs meant for emplacements from any other actor class. Since the morphing system allows for morphing to just about whatever class.
- Handling the NPC properly exiting whatever emplacement they're on by calling DoExitEmplacement() when they unmorph, in case they abruptly die or something and so they have to unmorph.
- Making the KAI_Emplacement actor itself copy the orientation of the morph as the NPC looks around.
- Properly transferring health when the actor enters and exits. So the actors' health doesn't get reset to its' spawn health upon unmorphing/exiting.
Type: KAI_Emplacement pointer
A pointer to the emplacement this morph is using.
- Home
- Features
- Classes
- Functions
- Guides