Is there any way to ignore a NotHitBy (SCA) that an opponent has currently activated?I ask because in the common1.cns NotHitBys are put in place to let a character successfully recover from a fall, etc, however, this fall recovery invincibility stops my character from continuing a combo. I want to allow my character to sometimes combo through their fall recovery. I don't want the opponent to not recover from a fall, I just want to combo through their invincibility.What I was thinking of doing was having an invisible helper that would send the opponent into a custom state and add a "NotHitBy" (no param) to cancel out their NotHitBy every time they enter a recovery state, but I want to avoid custom states for this. Therefore, this solution I can't use. Any ideas?
Curious1 said, November 08, 2014, 05:13:06 amWhat? I would love to know what code makes that possible. That could benefit many coders immensely.Makes which part possible?
Coding an AI to account for another character's recovery invincibility.As far as i know, that's just as impossible as coding an AI to recognize an opponent's attack invulnerability.
The recover state with the nothitby wouldnt be state 0. You could have P1 look to see if P2 has entered that specific state and activate a timer of sorts. Say 10 tics?
Jesuszilla said, November 09, 2014, 08:51:19 amWhat he's saying is that a NHB can be activated anywhere. State detection is not foolproof. I thought it was about the recovery and not actually looking for the NHB. You answered the NHB question. I thought we were talking about the work-around. My statement wasn't saying how to detect the NHB, I was meaning that he'll end up supposing P2 is NHB = SCA and that monitoring just that state would work just as well. I could have explained my reasoning better. If the character doesnt activate the NHB in the recovery, P1 would be "scared" of him for no reason. I dont see that as a major flaw of AI.