Initial commit

Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
Jaysyn904
2024-01-04 07:49:38 -05:00
parent df18cd54c8
commit 28cdb617b3
12943 changed files with 9727121 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
void main()
{
object oStore = GetNearestObjectByTag("ElemPortStore");
int iAir = GetLocalInt(oStore, "air");
int iFire = GetLocalInt(oStore, "fire");
int iWater = GetLocalInt(oStore, "water");
int iEarth = GetLocalInt(oStore, "earth");
object oPlayer = GetLastUsedBy();
if (GetTag(OBJECT_SELF) == "ccportaleast")
{
AssignCommand(oPlayer, ActionJumpToObject(GetObjectByTag("PortalWaypointE")));
}
else if (GetTag(OBJECT_SELF) == "ccportalwest")
{
AssignCommand(oPlayer, ActionJumpToObject(GetObjectByTag("PortalWaypointW")));
}
if (iAir == 1)
{
if (iFire == 1)
{
if (iWater == 1)
{
if (iEarth == 1)
{
if (GetTag(OBJECT_SELF) == "elemporteast")
{
AssignCommand(oPlayer, ActionJumpToObject(GetObjectByTag("CCPortalEast")));
}
else if (GetTag(OBJECT_SELF) == "elemportwest")
{
AssignCommand(oPlayer, ActionJumpToObject(GetObjectByTag("CCPortalWest")));
}
}
}
}
}
}