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 =)