Initial Commit
Initial Commit
This commit is contained in:
9
_module/nss/dungeon_exit.nss
Normal file
9
_module/nss/dungeon_exit.nss
Normal file
@@ -0,0 +1,9 @@
|
||||
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));
|
||||
}
|
||||
Reference in New Issue
Block a user