Here's the current version that occurs when the boat spawns (which it is doing and is setting the global to val: 1)
Code:
#OOT - Boat from BB to FP
sub EVENT_SPAWN
{
# I have spawned, inform the BoatSystem that I am moving towards freeport by setting the quest global
quest::gmsay("BBFP Setting status 1");
quest::setglobal("ootboatstatus",1,7,"F");
}
sub EVENT_WAYPOINT_ARRIVE
{
# keep moving till i reach the last waypoint
if($wp == 4)
{
quest::gmsay("BBFP Setting status 2");
quest::setglobal("ootboatstatus",2,7,"F");
}
if($wp == 5)
{
quest::gmsay("BBFP Depopping");
quest::depop();
}
}