Dozzirik
(Dozzirik)
July 10, 2025, 4:26pm
1
hello. i want a add a new feature.
when enemy hits me i want to play animation with 17% chance. like old Dota 2 hero Axe.
that animation plays automatically and give damage to the enemy.
this is my attack blueprint in my character.
thank you for your helps.
Greg55
(Greg)
July 10, 2025, 4:40pm
2
you can add a random int between 0 and 100 to choose to play an animation automatically if the random number is below 17 (does that give 17% chance?)
Where do you plug that in?
Do you want to play that animation on your player character when taking damage?
Then do it like that:
Dozzirik
(Dozzirik)
July 11, 2025, 2:19pm
5
it works like this. thank you sir.
1 Like