How do i make a dodge/dash
I want to make my character dash disappear then reappear at the end also with some particles how would i go about doing this
asked Dec 30 '16 at 08:50 AM in Blueprint Scripting
In your character blueprint - add the particle for going into stealth, and turn off Auto Activate.
In the Event Graph, add a custom event to be called when they hide that.
You can call it from whatever you like. To test it just add a Keyboard-Q or whatever, and have that [Vanish]
I have this set so that when they move, it makes them visible again.
But you need to make sure they are actually moving - if you are using the Example content - they call player movement whether any "movement" is to take place or not.
Adding a branch to be sure they are moving (the input is not 0) will keep them from coming out of hiding instantly on hiding.
You can call it from any action, Dash, Hide, etc. And you can use other methods to make them visible again. I used movement because in most games that have stealth it ends it.
Follow this question
Once you sign in you will be able to subscribe for any updates here