Okay so i am working on a realistic simulator-type game and whenever my character sprints or jogs is there a way to slowly decrease his/her speed?
The attributes are:
fatigue rating (like rested, out of breath etc)
fitness rating (how quickly the player 'runs out of breath')
and i can add more if necessary..
I cant seem to find the proc that detects movement from the player. I've seen move and step, but i cant get it to work.. help please?
mob Something like that? I haven't tested that code, but I believe it would work. |
People cant sprint forever.. and i cannot get the fatigue rating to decrease when the person runs.