Battledale_PRC8/_module/nss/fr_glow_enter.nss

26 lines
525 B
Plaintext
Raw Permalink Normal View History

void main()
{
if (GetLocalInt(OBJECT_SELF,"nDone")!=1)
{
int nIdx=0;
object oGlow=GetObjectByTag("fr_frost_throne",nIdx);
// while (GetIsObjectValid(oGlow))
// {
ApplyEffectToObject(DURATION_TYPE_PERMANENT,EffectVisualEffect(VFX_DUR_GHOSTLY_VISAGE),oGlow);
//ApplyEffectToObject(DURATION_TYPE_PERMANENT,EffectVisualEffect(6),oGlow);
// nIdx++;
oGlow=GetObjectByTag("fr_frost_throne",nIdx);
// }
SetLocalInt(OBJECT_SELF,"nDone",1);
}
object oPC=GetEnteringObject();
}