Im trying to figure out how I can add a blueprint for a shift-key for walking. Im following this one, but I cant find the “character movement” node. Did this change in 4.4?
Just click onto “show inherited variables” in the variable window and then type in movement -> now should be abel to see it
I tried that, but I didnt find the node. I searched “movement” and “Character”. Here is what I found on movement:
Try it with the other search bar at the left side of the window. Otherwise check in the component tab if you can find the movement component
Found no options for nodes for character or movement in the left searchbar. Nor in the components. I only found “ProjectileMovement1” in components, but not anything about character.
Now I can see it -> use the “character class” as a parent for your blueprint. Not the player controller. But when you want to get access to the movement component in the player controller you could cast from your char bp into the controller
Found it, thanks But it didnt work. I followed the blueprint step-by-step. What is wrong?
I also did the actionmapping for left-shift.
Just do everything without the “flipflop” -> then when you press shift it will increase/decrease the speed to whatever you like (that’s how I made my sprint system)
e.g
orange= sprint speed
green= walk speed
Hello,
Maybe you did something else in your project which does the trouble : to be sure, ive just try for me as that :
new 3rd person project
in my character blueprint :
event left shift, wire and add flip flop,
drag “character movement” from the left side and choose get. From this wire with context sensitive check “walk speed”,
duplicate it, set one 300 other 600, linked both white to flip flop and blue to character movement.
compile and it worked.
@, I tried that too, but with no luck. I also noticed that the walkspeed dosent change at all when Im changing values in the blueprint. What is wrong then?
@, thanks, will try that
Even when you change it in the defaults tab?
In the defaults tab it works fine
Ok, then use e.g the “1” key instead of shift and try it again. Or use the key pressed event “left shift” instead of your custom action mapping
Yeah you don’t need the FlipFlop, that’s what Released is for.
It depends too to what effect you look at, having to press key all the time to have the effect you want or just click to toggle the effect.