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? |
Looks like you need to provide x, y, z, and heading (in that order)
|
Quote:
|
Code
Can you post the code you used to add the x y z? Thanks.
|
All times are GMT -4. The time now is 08:02 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.