Initial Upload
Initial Upload
This commit is contained in:
12
_module/nss/alter_glow_1.nss
Normal file
12
_module/nss/alter_glow_1.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetEnteringObject();
|
||||
object oAlter = GetObjectByTag("DROWALTER");
|
||||
effect eGlow = EffectVisualEffect(VFX_DUR_GLOW_RED);
|
||||
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
|
||||
|
||||
if (DoOnce==TRUE) return;
|
||||
|
||||
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
||||
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eGlow, oAlter);
|
||||
}
|
Reference in New Issue
Block a user