Bug with $npc->SaveGaurdSpot
I'm assuming this method sets the npc's return point once they are no longer attacking something?
Either way, once this method is called in perl or lua...
$npc->SaveGuardSpot();
$npc->SaveGuardSpot(1/0);
or
npc:SaveGuardSpot();
npc:SaveGuardSpot(1/0);
...the script will stop working.
Is there another way to stop an npc from returning to their spawn point? Or is this even the correct way of doing it?
|