Can Anyone Explain Me A Helper Code
sgn_15 Date: Saturday, 2012-05-26, 7:14 PM | Message # 16
God
Group: contributor
Messages: 2518
Awards:
4
Reputation:
31
Reproofs:
0%
Status: Offline
i have tried your exact codes you posted
[StateDef 1307] type = S movetype = A physics = S juggle = 0 anim = 1307 ctrl = 0 [State 1307, SuperPause] type = SuperPause trigger1 = AnimElem = 1 time = 40 anim = S998 pos = 5,45 darken = 1 p2defmul = 0 poweradd = 0 unhittable = 1 ;ignorehitpause = ;persistent = [State 1307, Helper] type = Helper trigger1 = animelem = 8 ID = 1308 pos = 8,-20 postype = p1 stateno = 1308 helpertype = normal name = "Fire Ball" keyctrl = 0 ownpal = 1 scale = 3,3 supermovetime = 1 [State 1307, end] type = ChangeState trigger1 = AnimTime = 0 value = 0 ctrl = 1 [StateDef 1308] type = S movetype= A physics = S juggle = 1 velset = 0,0 ctrl = 0 anim = 1308 poweradd = -1500 sprpriority = 2 [State 1308, HitDef] type = HitDef trigger1 = time%2 attr = S, NA damage = 7 animtype = heavy guardflag = MA hitflag = MAF priority = 3, Hit pausetime = 2, 20 sparkno = s35 sparkxy = -5, -30 hitsound = 2,0 guardsound = 2,0 ground.type = Low ground.slidetime = 5 ground.hittime = 12 ground.velocity = 0 airguard.velocity = -1.9,-.8 air.type = High air.velocity = -1.4,-3 air.hittime = 12 fall = 1 [State 1308, end] type = destroyself trigger1 = Time = 80 value = 0 ctrl = 1
they work for me. at this point, you have something else wrong, not the codes. also, destroyself has not value and ctrl parameters [State 1308, end] type = destroyself trigger1 = Time = 80 value = 0 ctrl = 1 should be just [State 1308, end] type = destroyself trigger1 = Time = 80 btw, did you try those 2? Quote (sgn_15 )
try either of these 2 or both - remove the superpause then try if you can see the helper in the game - set your helper scale to 1,1 then try
Leo116 Date: Saturday, 2012-05-26, 7:37 PM | Message # 17
Angel
Group: contributor
Messages: 1083
Awards:
1
Reputation:
11
Reproofs:
0%
Status: Offline
Quote (sgn_15 )
btw, did you try those 2?
Yeah I tried them. Quote (sgn_15 )
should be just [State 1308, end] type = destroyself trigger1 = Time = 80
Tried it but didn't work, I don't know what the problem is. And on which attack did you try my code.
sgn_15 Date: Saturday, 2012-05-26, 7:40 PM | Message # 18
God
Group: contributor
Messages: 2518
Awards:
4
Reputation:
31
Reproofs:
0%
Status: Offline
i just added your code, then added anims 1307 and 1308 using my char's sprites. they work fine the destroyself really has no ctrl and value parameters, even if it did not changed anything, it is still conceptually wrong. for the problem, tbh i have no idea what more i can tell you as possible fix, of course i might have forgotten some possible stuff that could the source, if you are willing to send me your char, i can take a look at it.Added (2012-05-26, 7:40 PM) --------------------------------------------- i tried your codes on a simple "a" command
Leo116 Date: Saturday, 2012-05-26, 7:46 PM | Message # 19
Angel
Group: contributor
Messages: 1083
Awards:
1
Reputation:
11
Reproofs:
0%
Status: Offline
Ok then come to PM.
sgn_15 Date: Saturday, 2012-05-26, 8:19 PM | Message # 20
God
Group: contributor
Messages: 2518
Awards:
4
Reputation:
31
Reproofs:
0%
Status: Offline
dude, the source of problem is simple. the char you gave me, the anim 1307 has only 3 frames, so calling the helper on the 8th animelem will never work ._.
Leo116 Date: Saturday, 2012-05-26, 8:57 PM | Message # 21
Angel
Group: contributor
Messages: 1083
Awards:
1
Reputation:
11
Reproofs:
0%
Status: Offline
Thanks sgn now its working. You deserve a rep+ for solving my problem.
Message edited by Leo116 - Saturday, 2012-05-26, 8:58 PM