Initial upload
Initial upload
This commit is contained in:
34
_module/nss/entrmessgtrigger.nss
Normal file
34
_module/nss/entrmessgtrigger.nss
Normal file
@@ -0,0 +1,34 @@
|
||||
//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));
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user