Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-01-2019, 03:14 PM
strugglegenerator's Avatar
strugglegenerator
Hill Giant
 
Join Date: May 2012
Location: Minnesota
Posts: 231
Default Spawn NPC from global_player.pl

I'm trying to spawn a Translocator NPC (Gandalf) at my player character when I shout the word "Gandalf" from any zone. This is the code I put into global_player.pl, but it's not working:

Code:
sub EVENT_ENTERZONE { 
$client->quest::unique_spawn(2001017,0,0,1985,-2243,-75);
}
I'm having a really hard time. I don't know how to spawn the NPC, nor do I know how to get it to spawn at the player instead of at the coordinates. I feel like I'm close, but obviously I have no idea what I'm doing. Coding is my weakness so I rely heavily on reverse engineering someone else's similar code, which is why I have been sifting through other scripts in the quests folder trying to find one that spawns an NPC at the player (like how pet's spawn when summoned) but it's proven illusive.

Can anyone point me in the right direction?
Reply With Quote
 

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 11:11 AM.


 

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