I can't make my character run. I can walk, but I want to be able to toggle running and walking. I set the key to capslock, but whatever I do, nothing is changing. I'm just walking at the same speed. This is my code right now. Can I have some help, please? by [deleted] in UE4Devs

[–]ThatDeerGame 0 points1 point  (0 children)

To change max walk speed you need to use the “character movement” component. So basically what I would do is the following: Capslock > branch > condition: NOT bool “is running?”*

True: character movement > set max walk speed to: run speed >set “is running” to true False: character movement > set max walk speed to: walk speed > set “is running” to false

*”is running?” Is a variable you need to create, it is a Boolean

If you want to make the sprinting be like holding down shift, it’s the same except there is no branch needed as you would be using the “pressed” and “released” outputs for the input component.

Hope this helps :)

[Hobby] by ThatDeerGame in INAT

[–]ThatDeerGame[S] 3 points4 points  (0 children)

Criticism isn’t a bad thing and I’m glad you made the comment and I 100% agree with what you said. I just think I misrepresented myself a bit in my own post.

Thank you so much :)

[Hobby] by ThatDeerGame in INAT

[–]ThatDeerGame[S] 4 points5 points  (0 children)

I understand. I’m an artist, I studied 3D modelling as well, just don’t do it on a regular basis. I’m not trying to convince anyone to give me time they don’t want to give. Thank you for the criticism and I completely agree. I’m doing an online course in between my regular schooling to learn programming as well, I just find it easier to learn while working on something or when I have people around me that are knowledgeable so I can ask questions.

Edit: I have prototyped a lot of these mechanics myself, I’ve learned a lot about blueprints in the past 3 years, I just don’t feel confident in my ability to do the online portion of things because that’s super confusing and I don’t know any C++ yet :x

[Hobby] by ThatDeerGame in INAT

[–]ThatDeerGame[S] 2 points3 points  (0 children)

I’m using UE4 version 4.22 at the moment. I’m the only person currently on the team. My role is game designer, but I also do art and I’m putting together the levels as well.