YesNoOk
avatar

Throw Detection (Read 283 times)

Started by Nep Heart, March 21, 2019, 12:03:18 am
Share this topic:
Throw Detection
#1  March 21, 2019, 12:03:18 am
  • ***
  • CPU Purple Heart
    • USA
    • www.dailymotion.com/2a8130871d2742d2f4da3b069
 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.
Last Edit: March 22, 2019, 06:00:59 pm by Nep Heart
Re: Throw Detection
#2  March 25, 2019, 06:17:10 am
  • ***
    • China
    • beterhans.blogspot.com/
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.
Re: Throw Detection
#3  March 25, 2019, 01:20:28 pm
  • ***
  • CPU Purple Heart
    • USA
    • www.dailymotion.com/2a8130871d2742d2f4da3b069
 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.