How to toggle running for the character?

I succeeded in creating an FPS controler from scratch, the image below shows how I did it, and I commented the keys for better understanding.

But now I want to make it run. The base value for walking forward is 1, an I want to increase it when I press shift.

So I created and InputAction set up with Left Shift. But I don’t know how to proceed. I need something that changes the value of Scale Value in Add Movement Input based on InputAction Run.
I don’t even know if it’s possible, or if I have to change the whole thing around to make it work.

My idea was to use a boolean system to detect wether shift is pressed and change the value based on that. Having the 2 values set as float variables.

Any ideas how to do this?

See if the dodge and sprint implementation works for you, its at the bottom.

Understood, would a simple blend space help you? Have you seen that unreal tutorial?

That’s way too complicated for me. I’m just an artist trying to make a walkable camera to get around the map. I have little knowledge of programing.

I understand some of what he does, but it doesn’t really help me. There seems to be a lot of custom functions, and I don’t know how they are made.
He also blends everything together, uses stamina, and other variables that looses me.

There are a couple of interesting things like “Branch” and “Compare Float”. I’d have to look into it. But I don’t know how to express booleans. Sometimes I get errors saying they are not compatible, and I don’t know why.

You mean the one where it starts as third person template and uses timeline to blend between the animations? I’ve seen that. But in that case the inputs were already done, it only explained stuff about animations.

The inputs are simular you can match and compare to what you have as well. The examples show very good ways to learn.

Can you post a link to the video to be sure it’s the one?

blendspace

Unreal overview:

Check out Tesla's aswell:

Nice thanks, I’ll see if it helps.

are you looking for “maxwalkspeed” inside the character movement component? just set that to the value you specified in your blendspace max y value for running

if you want to make it quick and simple you can subclass from character instead pawn, add a camera comp, leave the skeletal mesh empty

You could do a branch that if shift is down (make a variable for the run input that toggles on when down and off when up) then it multiplies the value of scale value where if it is false keep it the same