Hi, I’m trying to make it so my animation montage would have a chance to play rather than playing 100% of the time. This is for a hit reaction for AI, and I want there to be a random chance that the animation plays if it gets hit. How would I go about implementing that?
Hey @magnificuhnt! Welcome to the forums.
So the way this would work is you determine what % chance it happens on your end.
Then you’ll do a “RandomFloatInRange” node, with the maximum at 100, to give you a random %.
Out of that node, do a < node to check if the random number is less than your % threshold, and if true, do your rare animation and if false do the standard one!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.