Hello all,

Is there a .cs method I can call in a mobile's script so that, upon spawning, it loads an .npc config automatically?

For example, I can create a beggar xmlquestnpc who asks for coins, etc., and save that config as beggar.npc. I know how to spawn an xmlquestnpc, then assign the beggar.npc manually, but I'm hoping there's a way to automatically load the .npc file when the beggar is spawned via non-xml spawner, or the Random Encounters script. This would be helpful on the server I use, which uses non-xml spawners; if I can modify the mobile itself, I'm hoping I won't need to swap spawners.

I've dug through several old threads looking for such a method, but have had no luck. It's likely there isn't one, but I'd figured it wouldn't hurt to ask.

Any help would be greatly appreciated!
 
Back