Ancordia_PRC8/_module/nss/dungeon_entrance.nss

10 lines
280 B
Plaintext
Raw Permalink Normal View History

2023-09-21 19:51:32 -04:00
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
string sWP = GetLocalString(GetArea(OBJECT_SELF), "DungeonWP");
object oWP = GetWaypointByTag(sWP);
SetLocalInt(oPC, "InTransition", TRUE);
AssignCommand(oPC, JumpToObject(oWP));
}