YesNoOk
avatar

How to detect invincibility frames? (Read 14337 times)

Started by WastedCoder, July 30, 2023, 08:40:15 am
Share this topic:
How to detect invincibility frames?
#1  July 30, 2023, 08:40:15 am
  • **
    • Ukraine
I want the AI to stop hitting an invincible enemy and just move away while the opponent is invincible during super pause etc.
Are there any common ways to do so?

Thanks ^-^
Re: How to detect invincibility frames?
#2  July 30, 2023, 01:31:04 pm
  • ******
    • Portugal
    • network.mugenguild.com/pots/
I've had this idea that I never put to the test because it's impractical, but you might be able to have a helper following the opponent and constantly hitting them with a "type = none" Hitdef. When it misses P2 is probably invincible.
You can help with Ikemen GO's development by trying out the latest development build and reporting any bugs on GitHub.
My Mugen and Ikemen content can also be found here.
Re: How to detect invincibility frames?
#3  July 31, 2023, 09:24:44 am
  • **
    • Ukraine
I've had this idea that I never put to the test because it's impractical, but you might be able to have a helper following the opponent and constantly hitting them with a "type = none" Hitdef. When it misses P2 is probably invincible.

I will try it out and let you know how it worked. Thank you!
Re: How to detect invincibility frames?
#4  July 31, 2023, 10:15:15 am
  • **
    • Ukraine
I've had this idea that I never put to the test because it's impractical, but you might be able to have a helper following the opponent and constantly hitting them with a "type = none" Hitdef. When it misses P2 is probably invincible.

It actually worked for this specific case. Thank you once again! ^-^