//::////////////////////////////////////////////////// //:: to_drake_arena //:: Drake Portal to the Drake Arena /* Protal to the Drake Arena */ //::////////////////////////////////////////////////// //:: Created By: r3plica //:: Created On: 21/10/2004 //::////////////////////////////////////////////////// void main() { location lTarget; object oTarget; object oPC = GetLastUsedBy(); oTarget = GetWaypointByTag("WP_DRAKE_ARENA"); lTarget = GetLocation(oTarget); if (!GetIsPC(oPC)) return; AssignCommand(oPC, ClearAllActions()); if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return; AssignCommand(oPC, ActionJumpToLocation(lTarget)); }