Force your character to walk?

If you are wanting to slow the player down during this conversation time frame you can set the max walk speed in the movement component to a normal walk speed (somewhere in the 210-270 range should work) the default walk speed is 600 which allows the character to run. Then after the conversation time is over set it back to the default or whatever value you want the same way

Hi!
In my game, the main character and an NPC are supposed to walk next to each other and have a conversation! But I don’t know how I can force my main character to walk! Can I use triggers? Is there something I need to edit somewhere? I’m kind of stuck here…

You are going to control the character but I don’t want to run ahead of the NPC.

Using UE 4.6 and Third person template.

Thank you! I got it to work! This may be a stupid question (I’m a noob) but is it possible to make this work on THIS level? I don’t want it to affect the other ones.

Sure thing! I hate to bother you like this but I don’t know how to do that. If you don’t want to show me, that’s fine. I can ask my teachers next week.
But it would be very appreciated!

Absolutely you can have the event or function to set the values called once or how ever often you like…they can be in the level BP or in the character BP if you want to have access to them over multiple levels etc

Also don’t forget to mark this as resolved/answered

If you want it to effect the character in just the one level and from the moment the level starts you can set it up in the Level BP, so open the level BP and create an EventBeginPlay node and a reference to your characters from the character drag the pin out and type "get character movement"then from there you can add the nodes from the post above and from BeginPlay connect it to the Set Max Walk node. Like This:

That BaseCharacter is the Character BP in the level that I was referencing, glad you got it working.

I had to connect the player controller instead of that “BaseCharacter_BP” but it works as I want now! Thank you so much!