I am trying to add an aura to a character by using explod, i add the sprites, the animations and the code but everytime i move the character it gets other effect upon the already existing effect and so on till its very bright and buggy, here an image:https://imgur.com/MgjsVWiMy code is under state 0, here it is:Spoiler, click to toggle visibilty[State 0, Explod];Aura Startstype = Explodtrigger1 = !timeanim = 555ID = 555pos = 0,0postype = p1facing = 1vfacing = 1bindtime = -1removetime = -1pausemovetime = 9999supermovetime = 9999scale = 4,4sprpriority = 3shadow = 0,0,0ownpal = 1removeongethit = 1I want a permanent aura, its the same one that the DBZ characters use to power charge but i want it permanent on the character instead.
You don't put it on state 0 because any time you'll return to the stand animation it will spawn another aura effect.You should put it under statedef -2.Of course the triggers and the remove explods should be set accordingly for, let's say, when you fall down (you would want to not have an aura when he's lying down).
Thanks, can you show me an example of remove explod that would work? I am a very beginner in Mugen coding.
So when you spawn the explod, and you only want ONE to happen, you can make mugen make sure there is ZERO of it before it spawns. You use a triggerall. This way, if there is 1, mugen doesn't waste any more time reading anything, it will just skip it. TriggerAll = numExplod(555) = 0would be what you want to use. The explod you want has the ID of 555, so that gets put in the brackets. The = 0 stops it from working if there's more than zero. [State 0, Explod];Aura Startstype = ExplodTriggerAll = numExplod(555) = 0trigger1 = !timeanim = 555ID = 555 ^^^Keep the additional info you have. Just add the triggerall like you see. You may want to add additional triggers. Unless the character starts with that explod.If you have questions about certain things in code someone mentions, you can use https://mugenguild.com/forum/topics/the-mugen-docs-master-thread-168949.0.htmlthis to find out the basics on everything. Still feel free to ask, but this will help you much faster than waiting.