Hitdef Problems

Started by Whack-a-Idiot, September 23, 2007, 07:50:18 PM

Previous topic - Next topic

Whack-a-Idiot

I just have a little question, how do you have more then one hit in one animation?

Example: DemonDrPill's yoshi's eggroll.

Im not sure if I add another hitdef or what? :-\

Any help would be appreciated

Renzo F

You can make the hitdef trigger several times, or -yes- adding another hitdef, but in most situations triggering the hitdef for every frame of the animation you want to hit the enemy is enough.

Protip: You can't have more than 1 active HitDef. MUGEN will just ignore them.

Whack-a-Idiot

Thanks for the help! ;D Really helped!


ZzEzZ


DemonicDrPhil

Wow I am flattered.

I actually did it with multiple hit defs copy and pasted.  I did it just in case I want to add something to each individual hit to make the opponent behave differently.  Also i did not know at the time that you can trigger the hitdef multiple times...very noob mistake I didn't even think of it.

I guess it depends if you know in advance whether for sure you want each hit to behave the same way.

I am sure more experienced members can help further if you need it as they already have.


Also make sure every frame that is supposed to attack has the red clsn box...probably obvious but you never know.  Good Luck!

Latest Yoshi alpha ready for feedback Aug 15th check here for details...

Renzo F

Quote from: ZzEzZ on September 24, 2007, 06:23:40 AM
or numhits o.0
Numhits will only add more hits to the hitcounter, but it won't actually make the hitdef hit more times.