adding sprites

Started by amplafied015, January 25, 2008, 07:47:36 PM

Previous topic - Next topic

amplafied015

i took some animation sprites off another character and put it on another one, but when i use the explod code it doesn't show up, and i know im doing the code right because it works on every other animation but the new one i've added. is there a certain way you have to do this ? o_O

ssjsongoku

No, it should appear if you are indeed using proper explod coding.
Check it over again, to make sure that you have the right anim no, trigger, pos, ...etc.
Also, double check that you are putting the explod coding in the right place.

amplafied015

i usually put it in the state -2, i took master geese's aura animation and put it into strider hiryu. I noticed though, that in geese's cns that the aura coding is in state -3 as helpers, i don't have any experience making helpers, but i figured since the aura is always running you had to put it in state -2? right? but either way i can't seem to get the animation to show up at all.

ssjsongoku

Yeah you'd have to put it into state -2.
Post your code.

amplafied015

type = explod
trigger1 = time = 0
trigger1 = numexplod = 0
id = 8000
anim = 8001
binttime = -1 ; bind to player indefinitely
removetime = -1; never remove
ignorehitpause = 1
persistant = 0; trigger only once in state 0
ontop = -1

the animatio group number is 8000 and the action that should begin is 8001

http://youtube.com/watch?v=PKkmOMqDeyk


ssjsongoku

you dont have the [state 8000, Explod] but I guess thats just a copy paste error.
your bindtime is spelled incorrectly  :P
as for the triggers I would set them up differently:

triggerall = numexplod(8000) != 1
trigger1 = time = 0

So that you are strictly referring to that explod.

See if that works.