Need some help please!

I have been following along with this tutorial and I am wondering how would I go by adding an increase in move speed for each coin picked up for say like 5 seconds. Any help would be great.

Create a BP for Character Velocity. Get Character Velocity then Set Character Velocity to an integer (actually it may be a float, I might have lied, I don’t work with velocities much) upon AddCoin increment then add a 5 second delay. You can probably just use a simple if as well and then you don’t need to re GET and re SET. Like Get CharacterVelocity(10) If [AddCoin +1] → SetCharacterVelocty(20) —> Delay (5 seconds)

An if statement in Unreal is called a Branch. So here I’m basically saying “is it true you just added one coin to your total coins?” and then Unreal says “yes, it’s true, increase character speed” or “no, that’s not true, there’s no need to do anything different right now.”

I feel like I say this all the time here, but I’m going to say it again. I have no idea if this is the best way to do it, but this is the way I’d do it. Good luck and I hope it works for you! :slight_smile:

I did what you said but I couldn’t get it to work :confused: I thought it would have been easy to add guess not. I understood what you are saying but could not get it work unfortunately thanks for helping still trying to learn alot of new stuff with this engine.

You can do this:
If you add a TimeLine, it is possible to smoothly adjust the speed of the character.

Wow thank you very much Xangs it works :stuck_out_tongue: