UW2_PRC8/_module/nss/entrmessgtrigger.nss
Jaysyn904 6aa7ab4950 Disabled defunct module reset
Disabled defunct module reset.  Disabled item destruction on drop.  Added PRC'd creature abilities.  Fixed invalid hak association.  Updated release archive.
2023-11-04 17:58:12 -04:00

32 lines
851 B
Plaintext

//Put this script OnEnter
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
object oTarget;
oTarget = oPC;
int nInt;
nInt = GetObjectType(oTarget);
effect eEffect;
eEffect = EffectVisualEffect(VFX_FNF_SUMMON_CELESTIAL);
if (nInt != OBJECT_TYPE_WAYPOINT)
DelayCommand(1.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oTarget));
else
DelayCommand(1.0, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect, GetLocation(oTarget)));
DelayCommand(7.0, FloatingTextStringOnCreature("Server Reboots at 10 minutes after Midnight, 8am, and 4pm Eastern Standard Time.", oPC));
DelayCommand(8.0, FloatingTextStringOnCreature("The Underworld was created on 1/1/07 by Guile/Genisys", oPC));
}