View Single Post
 
Reply
Posted 2006-08-07, 02:41 AM in reply to llamallover2021's post starting "Well, how do you get it initiated???"
llamallover2021 said:
Well, how do you get it initiated???
ah. this is my favorite part.

the part I know.

I'm not at a computer so I'm doing this in my head but,

-make 2 variables ("rest input" and "rest timer")

-make a common event ("idle") and make it parallel process

-in the idle event, code this in:


Code:
:wait 1 sec
:add 1 to the variable "rest timer"
:Fork option (rest time variable): = 10 or above
{ move event (hero) change graphics (rest sprite)
  : key input processing (rest input variable): all boxes checked except the store time one
  :Fork option (rest input variable): = 1 or above
  { move event (hero) change graphics (normal sprite)
    :set variable "rest timer" to = 0
    :set variable "rest input" to = 0
  }
}
that should work. I've used it before.
Old
Profile PM WWW Search
Wed-G is an uncelestial body of massWed-G is an uncelestial body of massWed-G is an uncelestial body of mass
 
 
Wed-G