I thought of it like this:
mob
var
running = 0
is_moving = 0
proc
Run()
while(usr.is_moving)
sleep(20)
icon_state = "running"
But I know that wont work, but I thought of it that way, please help. Thanks!
ID:159980
![]() Dec 9 2008, 1:01 pm
|
|
I wanted to know how to make it so that if a person is holding up/down/left/right for 2 seconds it switches to a running icon. (Like GOA)
I thought of it like this: mob But I know that wont work, but I thought of it that way, please help. Thanks! |
![]() Dec 9 2008, 1:30 pm
|
|
I guess you shall try reading about the Move() proc, by the way, do not user "usr" in procs or you will get a run-time error in the game, becuase it's null.
|