coding error

Started by javonlouis, March 01, 2018, 11:16:56 PM

Previous topic - Next topic

javonlouis

https://imgur.com/a/KRAs8 i'm sorry can someone take a look at this picture,the animation of 3215 is suppose to fly away for the next animation but when the next animation comes,the 3215 animation was still there,iori is suppose to do the next flame animation after the last frame of him jumping,i don't know what do i do,i have nothing else to do but this.

Henry Hero

you could show us the code.
but a simple remove explod should do it, even if in the state of a helper.

javonlouis

[state 3201, Explod]
type = Explod
trigger1 = animelem = 2
anim = 3216
postype = p1
pos = 15,-65
sprpriority = 1001
facing = 1
supermove = 1
ignorehitpause = 1
supermovetime = 99999
bindtime = -1
ownpal = 0
scale = 0.45,0.5

Odb718

You said the problem was with the end of 3215 animation. You posted the beginning of 3216. The beginning of 3216 does not affect 3215.
Henry Hero meant that you should post the code for the entire state.

You have options to make an explod move.
Inside the explod's code you can set velocity.
or
Inside the animation the explod displays you can add extra frames and duplicate pictures further away. This will make it look like it's moving. But it will not look as nice as using velocity.
or
Inside the state you're explod is in, you can use modifyexplod. This is probably the hardest option.


When you want to remove an explod you have options.
Inside the explod's code you can set removetime.
or
Inside the state you're explod is in, you can add a RemoveExplod. Using RemoveExplod isn't as easy as setting the remove time.

Look at the docs for help if you dont understand what I mean. http://mugenguild.com/forum/topics/explod-modifyexplod-sctrls-1-0-1-1b-169499.0.html
vVv Gouken718 vVv SabreTooth718 vVv