Hi,
I am trying to set up an NPC character using character controller and BD, however I cannot understand the melee item use system. All I want is that My npc should damage the player while attack animation is inbetween the OnanimatorItemUse and OnanimatorItemUseComplete Events. However It damages the character both before the event and after.
Something confuses is that I use isAbilityActive conditional on my behavior designer and after the OnanimatorItemUseComplete Event it returns false but on my character Use state is still active and it continues to damaging my Player.
Thank you for help and sorry for bad english.
I am trying to set up an NPC character using character controller and BD, however I cannot understand the melee item use system. All I want is that My npc should damage the player while attack animation is inbetween the OnanimatorItemUse and OnanimatorItemUseComplete Events. However It damages the character both before the event and after.
Something confuses is that I use isAbilityActive conditional on my behavior designer and after the OnanimatorItemUseComplete Event it returns false but on my character Use state is still active and it continues to damaging my Player.
Thank you for help and sorry for bad english.