YesNoOk
avatar

Detecting If a attack sends player to air(You know like Shoryuken) (Read 1335 times)

Started by mete122, September 10, 2017, 06:19:55 pm
Share this topic:
Detecting If a attack sends player to air(You know like Shoryuken)
#1  September 10, 2017, 06:19:55 pm
  • ***
  • Pixels are atom's of resolution,Low-res or Hi-res
    • Turkey
    • metekervan26@gmail.com
Is it possible to detect If a attack sends player to air(You know like Shoryuken does) and trigger something based on that
Re: Detecting If a attack sends player to air(You know like Shoryuken)
#2  September 10, 2017, 06:42:39 pm
  • ******
  • Loyal to the Game
    • USA
    • http://jesuszilla.trinitymugen.net/
Like to detect if your own character has been hit and sent into the air, so you could tell the AI to recover, for instance?

Code:
trigger1 = StateType = A && MoveType = H
trigger1 = GetHitVar(fall) ; Optional, can remove based on game needs.
Re: Detecting If a attack sends player to air(You know like Shoryuken)
#3  September 10, 2017, 06:56:19 pm
  • ***
  • Pixels are atom's of resolution,Low-res or Hi-res
    • Turkey
    • metekervan26@gmail.com
that's cool although,I was aproaching for a stage interaction type of thing when opponent is Ko'ed,character falling to water and a splash effect thing.I did most of it but I really need to learn this to finish it.
Re: Detecting If a attack sends player to air(You know like Shoryuken)
#4  September 10, 2017, 07:33:01 pm
  • ******
  • Loyal to the Game
    • USA
    • http://jesuszilla.trinitymugen.net/
Which part are you having trouble with specifically? That code will work if it's in P2.

If you're doing it in P1 so they can do it to P2, you can either send P2 to a custom state or use trigger redirection.
Re: Detecting If a attack sends player to air(You know like Shoryuken)
#5  September 10, 2017, 07:42:04 pm
  • ***
  • Pixels are atom's of resolution,Low-res or Hi-res
    • Turkey
    • metekervan26@gmail.com
thanks,it works
Re: Detecting If a attack sends player to air(You know like Shoryuken)
#6  September 11, 2017, 05:56:29 pm
  • *****
  • Shame on you!
    • USA
Marked as Solved.
vVv Wheat Stage Released vVv
Re: Detecting If a attack sends player to air(You know like Shoryuken)
#7  December 02, 2017, 01:14:24 pm
  • avatar
  • *
    • Vietnam
Statetype = A is Not look absolute at all. Use Pos y < 0 instead for Absolution.
------Tremble Mortal and Despair. Doom has come to this world------