Ancordia_PRC8/_module/nss/dungeon_exit.nss
Jaysyn904 102ba7dab6 Initial Commit
Initial Commit
2023-09-21 19:51:32 -04:00

10 lines
280 B
Plaintext

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));
}