note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
OnNPCModeInit.
Description
This callback is called when a NPC script is loaded.
Examples
public OnNPCModeInit()
{
print("NPC script loaded.");
return 1;
}
Related Callbacks
The following callbacks might be useful, as they're related to this callback in one way or another.
- OnNPCModeExit: This callback is called when a NPC script unloaded.