Initial Commit

Initial Commit [v1.32PRC8]
This commit is contained in:
Jaysyn904
2025-04-03 13:38:45 -04:00
parent 1213977d8c
commit b464d8da05
6922 changed files with 6176025 additions and 2 deletions

22
_module/nss/en4_xspot.nss Normal file
View File

@@ -0,0 +1,22 @@
#include "rd_misc"
void main()
{
int iX;
string sTag;
string sZone;
object oCreature;
object oSpot;
oCreature = GetEnteringObject();
if (!GetIsPC(oCreature))
{
sZone = GetZone(oCreature);
iX = GetXSpot(sZone);
sTag = sZone + "_X_" + IntToString(iX);
oSpot = GetObjectByTag(sTag);
if (GetIsObjectValid(oSpot))
DelayCommand(0.5f,AssignCommand(oCreature,ActionJumpToLocation(GetLocation(oSpot))));
}
}