NPC (class)

This class provides fields/functions for managing NPCs in the current level. DO NOT SAVE THIS CLASS/VARIABLE, ONLY USE IT LOCALLY PER FRAME.

Instance functions
These fields and functions are part of NPC Objects and have to be called for that object. Trying to call them from the static NPC class will result in an error. Example (feel free to copy it into your lua file to see how it works):

Offsets
This is the memory map for the npc struct. This struct is not fully analysed. Any help is appreciated! Please note that the data may not be fully 100% accurate.