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,27 @@
void main()
{
object oDoor;
int iRand = Random(3),iDone;
iDone = GetLocalInt(GetModule(),"element_lords");
if (!iDone)
{
ActionSpeakString("One of the Doors opens ...");
switch (iRand)
{
case 0: oDoor = GetObjectByTag("VaultToFire");
break;
case 1: oDoor = GetObjectByTag("VaultToCold");
break;
case 2: oDoor = GetObjectByTag("VaultToElec");
break;
}
ActionPlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
ActionUnlockObject(oDoor);
ActionOpenDoor(oDoor);
SetLocalInt(GetModule(),"element_lords",TRUE);
}
else
{
ActionSpeakString("Nothing else happens ...");
}
}