Skip to main content

OnNPCSpawn

Description

This callback is called when a NPC spawned.

Examples

public OnNPCSpawn()
{
print("NPC spawned");
SendChat("Hello World. I'm a bot.");
return 1;
}