26 lines
525 B
Plaintext
26 lines
525 B
Plaintext
|
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();
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
}
|