Problem is when the pc leaves the area and comes back the npc is standing and the effect is not reapplied. What can I do to keep the npc down without using the heartbeat. If I use the heartbeat then I cannot choreograph her rising with the time the cure is applied.
The script I use on enter is (note in this iteration I am trying knockdown but that does not work either):
void main()
{object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
object oTarget;
oTarget = GetObjectByTag("4002_dd_siobhan");
effect eEffect;
eEffect = EffectKnockdown();
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget);
}
The script is out of Lilac Souls generator.
Thanks
PJ
Modifié par PJ156, 11 juin 2011 - 08:10 .





Retour en haut







