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

View File

@@ -0,0 +1,28 @@
void main()
{
string sTag;
string sCheckTag;
string sTeleportTag;
int iTeleport1;
int iTeleport2;
object oPC;
object oArea;
location lTeleport;
oPC = GetEnteringObject();
if (GetIsPC(oPC))
{
oArea=GetArea(oPC);
iTeleport1 = GetLocalInt(oArea,"IDTeleport1");
iTeleport2 = GetLocalInt(oArea,"IDTeleport2");
sTag = GetTag(OBJECT_SELF);
sCheckTag = "ID_Trig" + IntToString(iTeleport1);
if (sTag == sCheckTag)
{
SendMessageToPC(oPC,"Your vision blurs and you feel a strange rushing sensation. When your vision finally clears you find yourself somewhere else...");
sTeleportTag = "ID_Special" + IntToString(iTeleport2);
lTeleport = GetLocation(GetObjectByTag(sTeleportTag));
AssignCommand(oPC,JumpToLocation(lTeleport));
}
}
}