The Mugen Fighters Guild
Help => M.U.G.E.N Development Help => Topic started by: Nep Heart on March 21, 2019, 12:03:18 am
-
Just wondering if there are any suggestions for a reliable means to detect my character being put into a custom hit state that was initiated by a throw move. I've attempted a few workarounds and didn't get the results I wanted. One of those workarounds was attempting to detect the hitdefatt of the attacker and set a variable accordingly, the var would be set to 1 if the hit was a throw and set to 0 if it were any non-throws... didn't work out.
Edit: Seems this thread was a little premature, seems that the hitdefatt detection works so long as I have the var detect a tick after the throw hit occurs. So, basically, it's that cursed 1 tick bug coming into effect. Seems this thread wasn't needed after all. I'll keep it open just in case I find an annoying quirk.
-
what I cound think
set a var in -3 for every ticket
like
var(1) = gametime
check it in -2
if var(1) != gametime
you know you are not in your own state.
-
Well, I do have the custom state detection already down by using a helper, so, that really isn't the problem. It was the tick delay failing to detect hitdefattr. I had to make it delay just to make it work, which has been working fine so far.
Also, the reason I'm using a helper is so that my characters can still access their own CMD even in custom state.