NPC:OnNPCModeInit
Description:
Callback NPC:OnNPCModeInit called when a NPC script is loaded.
Callback NPC:OnNPCModeInit 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 OnNPCModeInit() { print("NPC script loaded."); 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:OnNPCModeExit: Gets called when a NPC script unloaded.