Code: Select all
int thepreviousmapyouwarpedfrom;
int thepreviousmapxpos;
int thepreviousmapypos;
int thepreviousmapzpos;
Script "RingWarp" (VOID)
{
Delay(8);
FadeRange(255,230,200,0.0,255,255,255,1.0,35.0);
thepreviousmapyouwarpedfrom = GetLevelInfo(LEVELINFO_LEVELNUM);
Delay(35);
Teleport_NewMap(100,0,0);
}
Script "ReturntoPreviousMap" (VOID)
{
Teleport_NewMap(thepreviousmapyouwarpedfrom,0,0);
}