Suicide code

Started by Synck, July 29, 2014, 01:51:25 PM

Previous topic - Next topic

Synck

I made the move where after attack p1 successfuly dies with another state but
round does not
over early,it ends after 10 sec. what should i do?

Odb718

Make it so there's 1 point of health in the suicide state, make the character totally unhitable. Dont put any hitboxes on his animation, use hitoverride, all of the tricks.
Make the animation loop.
make the statedef change animation when
trigger1 = time = 600 ;I believe this should be 10seconds

In the new statedef make it subtract the 1point of health from your character, killing P1 effectively.

That should do it. You'll probably have to adjust your animations to do it this way. If I understood what you wanted properly.


----
wait... is that what happens and you want it to be over immediately??
vVv Gouken718 vVv SabreTooth718 vVv