NPC:OnNPCSpawn

NPC:OnNPCSpawn

Description:
Callback NPC:OnNPCSpawn called when a NPC spawned.
Callback NPC:OnNPCSpawn 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 OnNPCSpawn()
{
    print("NPC spawned");
    SendChat("Hello World. I'm a bot.");
    return 1;
}


Related Callbacks
The following callbacks might be useful as well, as they are related to this callback in one way or another.