News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Problems with Helper

Started by Metal_Sniper_63, February 10, 2008, 10:41:07 PM

Previous topic - Next topic

Metal_Sniper_63

Well i'm making a character and when i make his Special move (a demon comes from the ground and then launches TWO punches) the oponent doesn't fall and the second punch doesn't hit him, i want to know if you could help me with this.

This is the code i'm using:

Quote

[Statedef 3002]
type = S
movetype= A
physics = S
poweradd= -1000
ctrl = 0
velset = 0
anim = 3000


[State 3002, pause]
type = SuperPause
trigger1 = time = 0
anim = 30
;movetime = 50
sound = 20, 0
;time = 50

[state 3002, 1]
type = helper
trigger1 = AnimElem = 5
helpertype = normal
pos = 100, 0
name = "mono"
stateno = 3003
ownpal = 1
Keyctrl = 0


[State 3002, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


[statedef 3003]
type    = S
movetype= A
physics = S
juggle  = 4
ctrl = 0
velset = 0,0,0
anim = 1005


[State 3003, 2]
type = HitDef
trigger1 = animtime = 2
trigger2 = AnimElem = 2
trigger3 = AnimElem = 3
attr = S, NA
damage = 400
animtype = Hard
getpower = 30,15
guardflag = MA
hitflag = MAF
pausetime = 13,15
sparkno=2
sparkxy = -10,-76
hitsound = 5,2
guardsound = 6,0
ground.type = High
ground.slidetime = 15
ground.hittime  = 17
ground.velocity = -5
air.velocity = -2,-3
fall = 0

[State 3003, 3]
type = DestroySelf
trigger1 = animtime = 0

Cyanide

animtime = 2 will occur when you've left the state. Your other 2 triggers should work, provided you have at least 3 animelem's (frames) and that those 2 actually HAVE hitboxes.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Metal_Sniper_63

Quote from: [C]yanide on February 10, 2008, 10:55:44 PM
animtime = 2 will occur when you've left the state. Your other 2 triggers should work, provided you have at least 3 animelem's (frames) and that those 2 actually HAVE hitboxes.

Thanks man problem Solved jeje thanks