Initial commit

Initial commit
This commit is contained in:
Jaysyn904
2024-09-13 09:10:39 -04:00
parent 09dc8aec92
commit d1c309ae63
8437 changed files with 8727659 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
void main()
{
// ---------------------------------------------------
// Make it so the trigger only happens once per game
// ---------------------------------------------------
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
// Start Perem talking
object oPerem = GetObjectByTag ("PEREM");
int bStarted = GetLocalInt (oPerem, "STARTED");
if (!bStarted)
{
// Make sure the trigger is only activated once
SetLocalInt (oPerem, "STARTED", TRUE);
// Get the Wizard to start the action !!
SetLocalInt (oPerem, "STATE", 90);
}
}