Form changes?

Started by Xehanorts Crack, April 20, 2011, 12:36:27 AM

Previous topic - Next topic

Xehanorts Crack

Hello, I'm new here so feel free to yell at me if this topic is stupid, if my question are stupid, or if I as a person is stupid.

My question is, how can I temporarily change form? For an example, if one of my attacks is that my character turns of fire, how can I make him move for a short amount of time while being on fire? Do I make myself clear?

Thanks for any type of help and advises I can get.

Rajaa Retired

Get the sprites you want to use. Code the activation state.Use a variable for the time of the state. Make the variable constantly decrease via helper or negative statedef. During custom states, your character will revert back temporarily, so don't be surprised.

If it's just a palfx with some fire effects, then you can pull this off with no problem. Just use a palfx, play with it until you get your color, then have an explod of your fire animation triggering all the time as long as the variable for your transformation is greater than 0.