Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-09-21 21:20:34 -04:00
parent d3f23f8b3c
commit 94990edc60
5734 changed files with 6324648 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
void main()
{
// Make sure main bridge door has actually been unlocked, in case
// player has used exploit to push thru the door.
object oBridgeDoor = GetObjectByTag("EyelandBridgeLvl40");
if(GetLocked(oBridgeDoor))
{
return;
}
// Lets see if there is encounter spawns in the area.
// If so, we don't port em.
object oCreature = GetFirstObjectInArea(OBJECT_SELF);
while(GetIsObjectValid(oCreature))
{
if(GetIsEncounterCreature(oCreature))
{
SendMessageToPC(GetLastUsedBy(), "Kill your spawns.");
return;
}
oCreature = GetNextObjectInArea(OBJECT_SELF);
}
AssignCommand(GetLastUsedBy(), ActionJumpToLocation(GetLocation(GetWaypointByTag("bq_t4usw"))));
}