Anyone else having this problem, or have their map work as intended?
Here is my module core code (think I got it from the tutorial or the demo module)
case EVENT_TYPE_BEGIN_TRAVEL:
{
string sSource = GetEventString(ev, 0); //area tag source location
string sTarget = GetEventString(ev, 1); // area tag target location
string sWPOverride = GetEventString(ev, 2); // waypoint tag override
if (sSource != sTarget)
{
SetLocalString(GetModule(), "WM_STORED_AREA", sTarget);
SetLocalString(GetModule(), "WM_STORED_WP", sWPOverride);
WorldMapStartTravelling();
}
}
case EVENT_TYPE_WORLDMAP_PRETRANSITION:
{
string sArea = GetLocalString(GetModule(), "WM_STORED_AREA");
string sWP = GetLocalString(GetModule(), "WM_STORED_WP");
UT_DoAreaTransition(sArea, sWP);
break;
}
Modifié par Obadiah, 16 avril 2011 - 05:59 .





Retour en haut







