News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Super KO FX parameter problem

Started by xcd222, May 25, 2016, 02:28:56 PM

Previous topic - Next topic

xcd222

I successfully made a helper for Super KO FX and I was able to implement it well. The only problem is that with one of my supers, it leaves a helper that attacks the opponent while my character immediately goes to state 0 after the helper shows up. How do I make a trigger for a helper? The statenos of my helper is [7830, 7845]. This is the statedef for my Super KO FX helper :

[State -3, Super K.O FX]
type = Helper
triggerall = roundstate >= 2
triggerall = WinKO && !var(0)
trigger1 = stateno = [3000, 3200]
trigger2 = ;What will I add? I did try [7830, 7845] but it didn't returned true.
ID = 9999
stateno = 9999
postype = Back
pos = 0,0
pausemovetime = 999999
supermovetime = 999999
ignorehitpause = 1
ownpal = 1

aoiro

 I had to real a couple of times to figure, you should have posted the state for the helper you  are using. I think the problem is that your helper instead of disapearing, goes to another state. check is there isn't any changestate affecting your helper.
For helper you should use destroyself, for example trigger a destroyself inside the helper with an animtime=0 and will disapear after the animation concludes
for fx is easier at first to make only using explod as you need not to add an extra state. just remove time.
Also about the trigger 2, always put a trigger that checks only once, like start of a frame, or an specific time, either case will constantly make multiple triggers to appear all the time the other triggers are true. in this case it would work, since its a helper, using numhelper(9999)=0 (only when there is not any helper with that number)

xcd222

Quote from: aoiro on May 26, 2016, 04:50:36 PM
I had to real a couple of times to figure, you should have posted the state for the helper you  are using. I think the problem is that your helper instead of disapearing, goes to another state. check is there isn't any changestate affecting your helper.
For helper you should use destroyself, for example trigger a destroyself inside the helper with an animtime=0 and will disapear after the animation concludes
for fx is easier at first to make only using explod as you need not to add an extra state. just remove time.
Also about the trigger 2, always put a trigger that checks only once, like start of a frame, or an specific time, either case will constantly make multiple triggers to appear all the time the other triggers are true. in this case it would work, since its a helper, using numhelper(9999)=0 (only when there is not any helper with that number)

Thanks, but using numhelper is easier than your suggestion.