Vizaru Posted September 7, 2014 Share Posted September 7, 2014 Hi, I am a beginner, so this question is very noobish.what is the difference between run speed and walk speed?The code i usually see in script files looks like:inst.components.locomotor.walkspeedinst.components.locomotor.runspeedI understand they affect character movement speed, but I always see them set to the same value for a given character. Thus, I was just wondering what would happen if they were different values. Thanks. Link to comment https://forums.kleientertainment.com/forums/topic/40450-simple-question-about-code/ Share on other sites More sharing options...
Mobbstar Posted September 7, 2014 Share Posted September 7, 2014 Depending on their current behaviour, creatures prefer to walk or run (e.g. pigmen walk when wandering idle but run when fighting). You don't have to give a creature the abilities to do both, I think. (tallbirds only have one speed)You can set the walk/run abilities in the StateGraph. I can't get my custom creatures to move... so yeah, don't listen to me. Link to comment https://forums.kleientertainment.com/forums/topic/40450-simple-question-about-code/#findComment-532224 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now