Hello. I have made custom spell to trigger paired animation (pa_Huga). So I wrote simple script which should trigger this animation when player cast spell on target. It seems like script is working as intented, but I have small issue I want to get rid off. After animation is played my character cannot use spells untill i reequip weapon\spell. I've checked wiki page and there is note that this is expected behaivour and should be fixed, but I am noob at scripting and can't wrap my head how to fix this.
So can someone explain to the noob what should I do in my script or in CK to fix my problem. Here is my script:
Scriptname _PairedHug extends ActiveMagicEffect Idle Property pa_HUGa Auto Event OnEffectStart(Actor akTarget, Actor akCaster) akTarget.PlayIdleWithTarget(pa_HUGa, akCaster) Game.GetPlayer().DrawWeapon() Endevent
Thanks in advance.
Edited by xxxCYNICxxx, 23 May 2020 - 01:42 AM.