YesNoOk
avatar

hitshaketime/hittime (Read 614 times)

Started by Samson, May 22, 2011, 02:00:12 pm
Share this topic:
hitshaketime/hittime
#1  May 22, 2011, 02:00:12 pm
  • avatar
A (possibly) silly question, but the documentation says:
Quote
hitshaketime: Returns time player is "frozen" during the hit. This
                number counts down by 1 for each game tick, and stops
                when it reaches zero. (int)
  hittime: Returns time before player regains control and returns to
           an idle state after being hit.
           This counts down by 1 per game tick, as long as hitshaketime
           (see above) is greater than 0. It stops counting down when
           the value reaches -1. (int)
           "GetHitVar(hittime) < 0" is equivalent to the HitOver
           trigger.
Is that what people see in their own characters, or is that a bug in the documentation, and hittime is only decremented when hitshaketime is 0?

My windows machine is not usable at the moment, otherwise I could test it on the original runtime.
Re: hitshaketime/hittime
#2  May 23, 2011, 01:15:41 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
I believe that is in error. Hittime only drops while hitshaketime is complete. As if i alter my hittimes to account for pausetime i get a much longer hit than i want.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.