Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-14-2019, 01:55 PM
t0neg0d
Fire Beetle
 
Join Date: Oct 2014
Posts: 22
Default 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?
Reply With Quote
  #2  
Old 04-14-2019, 03:14 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default

Looks like you need to provide x, y, z, and heading (in that order)
Reply With Quote
  #3  
Old 04-14-2019, 03:51 PM
t0neg0d
Fire Beetle
 
Join Date: Oct 2014
Posts: 22
Default

Quote:
Originally Posted by demonstar55 View Post
Looks like you need to provide x, y, z, and heading (in that order)
Thanks a ton. That did it!
Reply With Quote
  #4  
Old 04-15-2019, 05:46 PM
cannon
Hill Giant
 
Join Date: Dec 2004
Location: Pittsburgh, PA
Posts: 128
Default Code

Can you post the code you used to add the x y z? Thanks.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:48 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3