Combos

Started by MisterJa1, October 29, 2017, 08:17:58 PM

Previous topic - Next topic

MisterJa1

Hey guys! I made a combo for a char, but when i add the code !movecontac, to only continues if hit the p2, they stop working. Can anyone help me?

Code:
;Combo1
[StateDef 444]
type = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 444
poweradd = 20
sprpriority = 2

[State 444, 1]
type = HitDef
trigger1 = AnimElem = 4
attr = S, NA
damage = 10
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 3, 3
sparkno = -1
sparkxy = 1,-48
hitsound = s8
guardsound = s43
ground.type = High
ground.slidetime = 5
ground.hittime  = 12
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12

[State 200, Spark CVS]
type = Explod
triggerall = Numexplod(9026) = 0
trigger1 = Movehit = 1
anim = 9026
ID = 9026
postype = P2
pos = 0,-40
facing = -1
sprpriority = 2
supermove = 1
removetime = -2
bindtime = 1
ownpal = 1
scale = 0.2,0.2
removeongethit = 1
ontop = 1
supermovetime    = 999
ignorehitpause  = 1

[State 444, 1]
type = HitDef
trigger1 = AnimElem = 10
attr = S, NA
damage = 10
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 3, 3
sparkno = -1
sparkxy = 1,-48
hitsound = s8
guardsound = s43
ground.type = High
ground.slidetime = 5
ground.hittime  = 12
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12
fall = 1

[State 444, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


and the cmd code:
;Combo1
[State -1, Combo1]
type = ChangeState
value = 444
triggerall = command = "Combo1"
trigger1 = (statetype = s) && ctrl,

[command]
name = "Combo1"
command = ~a,a
time = 15

Odb718

drop the comma at the end of
trigger1 = (statetype = s) && ctrl,

and read up on movecontact here.
http://mugenguild.com/forum/topics/movecontact-triggers-169089.0.html
vVv Gouken718 vVv SabreTooth718 vVv