EN6_PRC8/_module/nss/en5_pris_jump.nss
Jaysyn904 a6f6db7303 Initial commit
Initial commit.  Updated release archive.
2024-06-13 15:08:33 -04:00

17 lines
410 B
Plaintext

void main()
{
object oWP;
string sZone;
sZone=GetLocalString(OBJECT_SELF,"Zone");
oWP=GetObjectByTag(sZone + "_Town");
if (GetIsObjectValid(oWP))
DelayCommand(10.0,AssignCommand(OBJECT_SELF,JumpToLocation(GetLocation(oWP))));
else
{
oWP=GetObjectByTag(sZone + "_INFO");
if (GetIsObjectValid(oWP))
DelayCommand(10.0,AssignCommand(OBJECT_SELF,JumpToLocation(GetLocation(oWP))));
}
}