Riiicardoo Posted October 13, 2011 Author Share Posted October 13, 2011 Client~Sidelook for:``` ' Check if player is walking, and if so process moving them over Select Case Player(Index).Moving Case MOVING_WALKING: MovementSpeed = ((ElapsedTime / 1000) * (RUN_SPEED * SIZE_X)) Case MOVING_RUNNING: MovementSpeed = ((ElapsedTime / 1000) * (WALK_SPEED * SIZE_X)) Case Else: Exit Sub End Select```Change to:``` ' Check if player is walking, and if so process moving them over Select Case Player(Index).Moving Case MOVING_WALKING: MovementSpeed = ((ElapsedTime / 1000) * (WALK_SPEED * SIZE_X)) Case MOVING_RUNNING: MovementSpeed = ((ElapsedTime / 1000) * (RUN_SPEED * SIZE_X)) Case Else: Exit Sub End Selectt```Credits:My Link to comment Share on other sites More sharing options...
peekay Posted October 13, 2011 Share Posted October 13, 2011 you screwed up the "fix" by ending in "Selectt" Link to comment Share on other sites More sharing options...
Riiicardoo Posted October 13, 2011 Author Share Posted October 13, 2011 thank you Link to comment Share on other sites More sharing options...
Justn Posted October 13, 2011 Share Posted October 13, 2011 @Riiicardoo:> thank youYou still didn't edit it… Also how is this a fix? I thought Robin did this on purpose.... Link to comment Share on other sites More sharing options...
Domino_ Posted October 13, 2011 Share Posted October 13, 2011 That's simple changing with places…. Link to comment Share on other sites More sharing options...
Riiicardoo Posted October 13, 2011 Author Share Posted October 13, 2011 Yes, but the many who do not know Link to comment Share on other sites More sharing options...
SeeingBlue Posted October 13, 2011 Share Posted October 13, 2011 Riiicardoo, you need to edit your first post & fix your mistake in the second code block at the end. End Selectt should be Select. For newbs using your code they won't know this & will come back here with their problem. Link to comment Share on other sites More sharing options...
Murdoc Posted October 13, 2011 Share Posted October 13, 2011 What does this even do, the title is confusing… "speed walker e speed run"??? Link to comment Share on other sites More sharing options...
SeeingBlue Posted October 13, 2011 Share Posted October 13, 2011 By default you are running until you hold shift. Code wise it appears to be backwards. Tripped me up at first, but the only thing he did was change it so you walk by default until you hold shift. Link to comment Share on other sites More sharing options...
peekay Posted October 14, 2011 Share Posted October 14, 2011 it just swaps running for walking and walking for running. (running is default) Link to comment 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