AfterDawn Posted August 20, 2009 Author Share Posted August 20, 2009 how can i edit in the source the run.normaly when the character runs, it needs to press hold+shift key. but i want to change it to just press the R (letter) then it will run, and i will press again the R (letter) to walk or back to normal.Anyone?? Link to comment Share on other sites More sharing options...
Drake Rider Posted August 21, 2009 Share Posted August 21, 2009 Hmmm…Make new variable called Run.Then In Sub CheckInput add: ```If KeyCode = vbKeyR Then If Run = False Then Run = TrueElseRun = FalseEnd If End If ```And Then in Sub CheckMovement()change If ShiftDown Then to If Run = True Then 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