NPC:OnNPCModeExit
Description:
Callback NPC:OnNPCModeExit called when a NPC-script unloaded.
Callback NPC:OnNPCModeExit was added in 0.3a and will not work in earlier versions! |
Parameters:
(This callback has no parameters.)
Return Values:
This callback does not handle returns.
Examples:
public OnNPCModeExit() { print("NPC script unloaded"); return 1; }
Related Callbacks
The following callbacks might be useful as well, as they are related to this callback in one way or another.
- NPC:OnNPCModeInit: Gets called when a NPC script loaded.