5B Problem

Started by Noticer22, May 22, 2023, 10:51:14 PM

Previous topic - Next topic

Noticer22

ok need a little bit of help: trying to code in a 5b input akin to Meta Knight's 5b from OHMSBY (where he attacks u on the ground and then does an upwards strike leading both him and the opponent in the air). when i tried to code it tho, this happened: https://streamable.com/tk6pbt

for the record this is how i wanted the 5B to act (minus the multi hit):

https://streamable.com/xklv6l

I also turned on debug to see if the state number changed and it always stays on state 210. it never goes to state 211 (the state where she is supposed to drop and land after that attack

and i do have the collision and hit boxes added in on fighter factory as shown here:

https://imgur.com/dTq1tD6

https://imgur.com/cQhqm5M

i have a feeling that the problem something to do with the code in the pastebin below:

https://pastebin.com/WMAV2Q1e

I'm still fairly new to M.U G.E.N creation so if anyone is able to help me with this problem that would be greatly appreciated.  :)

Odb718

Usually what happens with a jump type move is the switch from standing to jumping happens, and then the check to change everything fires off. This makes everything switch in 1 tic which messes everything up.
Delay you checks or change them completely. Like you should know how many tics you need to change to anim 211. so just use time for your trigger instead of looking for velocities.
vVv Gouken718 vVv SabreTooth718 vVv