"All Skate"
Zephirius
Member Posts: 419
Just trying to get my "Guardian Jackal" to unfreeze from his statue pose and attack the PC. Simple right?
My Jackal attacks alright, but he "roller-skates" into action. Looks funny, but we can't have him roller skating around...
…I'm using VFX_IMP_FREEZE
I should add this just to show you...
Thanks for any help.
My Jackal attacks alright, but he "roller-skates" into action. Looks funny, but we can't have him roller skating around...
…I'm using VFX_IMP_FREEZE
I should add this just to show you...
effect eFreeze = EffectVisualEffect(VFX_IMP_FREEZE); ApplyEffectToObject(DURATION_TYPE_PERMANENT, eFreeze, oTarget);
int nMaxHP = GetMaxHitPoints(); int nCurHP = GetCurrentHitPoints(); // if less than half of maximum if (nCurHP < (nMaxHP / 2)) { object oTarget; oTarget = GetObjectByTag("GUARDIAN_JAKAL"); effect eEffect; eEffect = GetFirstEffect(oTarget); SetCommandable(TRUE, oTarget); AssignCommand(oTarget, ClearAllActions()); while (GetIsEffectValid(eEffect)) { if (GetEffectType(eEffect)==EFFECT_TYPE_VISUALEFFECT) RemoveEffect(oTarget, eEffect); eEffect = GetNextEffect(oTarget); }
Thanks for any help.
0
Comments
Also, maybe adding a tag can help remove the right effect.