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 10-15-2012, 12:57 PM
chrismed0
Sarnak
 
Join Date: Aug 2010
Location: USA
Posts: 75
Default

I have been tweaking a little and I changed up just a couple of things..
I have fully checked and tested and works well.

Code for the NPC I placed in Butcherblock:
Code:
sub EVENT_SPAWN {

	quest::settimer("spawnship",4);	
}

sub EVENT_TIMER {

	if($timer == "spawnship") {
        if(defined $qglobals{shipbutcher} && $qglobals{shipbutcher} == 1) {
            quest::ze(0,"Butcherblock Harbor Authority says 'The Sirens Bane will be arriving shortly from it's voyage in the Ocean of Tears. All those wishing to board her should make their way to the docks now. The Sirens Bane will be departing for the Ocean of Tears and Antonica'");
            quest::unique_spawn(68228,237,0,3495,-550,-9);
            quest::delglobal("shipbutcher");
        }
    }
}
Code for the SirenBane ship in OOT:
Code:
sub EVENT_WAYPOINT_ARRIVE {
    
    if($wp == 3) {
    
        quest::setglobal("shipfreporte", 1, 7, "F");
        quest::say("I am here");
    }

    if($wp == 10) {
    
        quest::setglobal("shipbutcher", 1, 7, "F");
        quest::say("I am here");
    }
}
Couldn't find the ref for the colorID for the message but assumed it was prob "0". Also added couple sec to the timer. This gives the boat enough time to spawn and delete the global. It makes it better for 2 reasons:
1. The global will be long gone before it tries to check again so no problems with multi spawns or messages
2. I found the "unique_spawn" so don't have to worry about multi spawns anyway. Love it.. works great.

Only thing I have to do left is tweak my grids and adjust my waypoints and pauses.
to make the grid editing easy I'm using GeorgeS Emu Tools.
The tools say npc_loot_editor but discovered it has a few other tools in like a very nice grid editor.
just thought I would give an update

PS. forgive any gramatical or spelling errors. I'm in law enforcement field and work the grave yard shift so this time in the morning when get off work I have been up for at least 16+ hours =)
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 04:31 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3