35 lines
855 B
Plaintext
35 lines
855 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 Easter Standard Time.", oPC));
|
||
|
|
||
|
//DelayCommand(8.0, FloatingTextStringOnCreature("The Underworld was created on 1/1/07 by Guile/Genisys", oPC));
|
||
|
|
||
|
|
||
|
}
|