Hello , I need help , I need my character run an animation only when it is within a trigger box and when I press the button E. Outside the box trigger this key can not function. My animation is a montage anim, some help ???
- in your character bp create a bool variable that is called “ActivateAnimation”
- create a new actor bp with a trigger box + do this:
So here we check if he is in range and if he has pressed E + then we cast to the character bp to set the bool variable
- in your anim bp you now have to access the bool variable (cast node) + set up the montage part:
Except of the casting part, everything is explained in this video series: 3rd Person Game with Blueprints (pre. v4.8) - YouTube