News:

MFG's Character of the Month: October 2026 Voting

Main Menu

p2 stand up

Started by ultimatedude, August 23, 2008, 07:25:36 PM

Previous topic - Next topic

ultimatedude

So yeah, my char hits p2, p2 falls, then, hes meant to use an attack that puts him back in his stand get hit (State 5000)

Thanks in advance

No Borders, No Nations

Rajaa Retired

Quote from: ultimatedude on August 23, 2008, 07:25:36 PM
So yeah, my char hits p2, p2 falls, then, hes meant to use an attack that puts him back in his stand get hit (State 5000)

Thanks in advance

custom state.

ultimatedude

And how to you use them

No Borders, No Nations

Rajaa Retired

Do you know how to make a throw?

just use p2stateno without the p1stateno

and have a state where they have the codes of what you want them to do.

i don't think there is any other way besides a custom state..forcestand doesn't work in this situation

BC

make a custom state that uses the get up from lie down animation

youll need to make a custom state from the first hit tho so you have control over p2's behaviour.

remember to add p2stateno =   in the hitdef so it knows what state to look into when hitting the opponent.

also look at movetype,   H means get hit.

im sure your aware of what to use for physics and type


cant really give away alot.

but the above i mentioned + checking if p2 is still alive ect. you could use selfstate too.

Accepting commissions

Cyanide

The second hit forces p2 to stand back up?

in the hitdef of your second hit,

forcestand = 1

From the docs
Quoteforcestand = value (int)

    Set to 1 to force P2 to a standing state-type if the hit is

    successful, and P2 is in a crouching state.

    Normally defaults to 0, but if the y_velocity of the

    "ground.velocity" parameter is non-zero, it defaults to 1.

Ooh, that says crouching. Might still work though, give it a go, if not, back to custom states.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

ultimatedude

it doesnt work, but still, I used custom states, it works now

Thanks alot ;P

No Borders, No Nations