Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 02-08-2021, 04:20 PM
ahamilton634's Avatar
ahamilton634
Sarnak
 
Join Date: Jul 2015
Location: Sunny California
Posts: 30
Default Pull template.

This is probably a dumb question, but I'm implementing a system where you go to your guildmaster to learn spells. I was wondering if there was a way I could create a master script, and then have that script be pulled by the script for each npc I wish to assign it to. So have one script maybe global/default_druid.pl get pulled by gfaydark/Uleen_Laughingwater.pl. The reason I want to do it this way instead of copying and pasting the entire script into each NPC quest, is because I'd like to make changes to this later that would then affect all of the NPCs pulling this master quest.
It's probably stupid simple but I couldn't find the answer with cursory Googling.
Thanks!
Reply With Quote
  #2  
Old 08-13-2021, 04:17 PM
Vanderdoody
Fire Beetle
 
Join Date: Jan 2021
Posts: 6
Default

Not to necro, but did anyone ever figure it out? This would be a cool idea.
Reply With Quote
  #3  
Old 08-13-2021, 05:03 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

Well, I wouldn't be the energetic one for something that deep as the OP's plan, but, it could easily be done by spawning an NPC by each of the caster classes home GM (as an example). Those npc's, all with the same name (multi-spawned), like, GM_Spell_Teacher. Then put the master script (under that name), in global, using if($class eq "Druid"), or if($class eq "Cleric"), and so on, and so on. That's just my brain on coffee.....
__________________
Hanging out at Antonica.World
Reply With Quote
  #4  
Old 09-23-2021, 10:37 PM
ahamilton634's Avatar
ahamilton634
Sarnak
 
Join Date: Jul 2015
Location: Sunny California
Posts: 30
Default

That's a good suggestion. I've done that for other types of NPCs like the bot unlocker, but since I have spells scribed by an NPC, I repurposed the spell vendors to fill these roles. So these are all existing NPCs of different names. It'd be preferable to me to just have a master script be pulled.
Reply With Quote
Reply


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 10:19 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