Infinity MUGEN Team

IMT Main => M.U.G.E.N Help => Topic started by: daraku on August 30, 2017, 04:06:06 PM

Title: help with movecontact state controllers...don't work!
Post by: daraku on August 30, 2017, 04:06:06 PM
This is an helper...the collision box are there...but movecontact don't work...where im wrong?

[Statedef 3203]
type    = A
movetype= A
physics = N
velset = 9, 7
anim = 3205
ctrl = 0
sprpriority = 4

[State 205, HitOverride]
type = HitOverride
trigger1 = 1
attr = SCA,AA,AP,AT
time = -1
stateno = 3203
ignoreHitPause = 1

[State 205, HitBy]
type = HitBy
trigger1 = 1
value = SCA,NP,SP,HP
time = -1
ignoreHitPause = 1


[State 205, HitDef]
type = HitDef
trigger1 = !movecontact
attr = S,HP
hitflag = MAF
guardflag = MA
priority = 4, Hit
damage = 60,10
getpower = 0,0
givepower = 1, 1
pausetime = 0, 0
guard.pausetime = 0, 0
animtype  = Hard
numhits = 1
sparkno = s8222
sparkxy = 20,0
hitsound = s8000,2
guardsound = 6,0
guard.sparkno = -1
ground.type = high
ground.slidetime = 4
ground.velocity = -10
airguard.velocity = -10
air.type = Low
air.velocity = -10,1
air.juggle = 5
fall.animtype = Hard

[State 206, EnvShake]
type = EnvShake
trigger1 = Pos Y >= 0
time = 8
freq = 150
ampl = 4



[State 0, Explod]
type = Explod
trigger1= movecontact
trigger2=  Pos Y >= 0
anim = 7003
ID = 7003
pos = 0,0
postype = p1
facing = 1
vfacing = 1
bindtime = 1
vel = 0,0
accel = 0,0
random = 0,0
removetime = -2
scale = 0.6, 0.6
sprpriority = ifelse(random<500,2,4)

[State 206, DestroySelf]
type = DestroySelf
trigger1 = moveContact
trigger2 = Pos Y  >= 0
Title: Re: help with movecontact state controllers...don't work!
Post by: warner on August 30, 2017, 08:43:29 PM
i think u must remove " ! " or try " movecontact = 1 "
Title: Re: help with movecontact state controllers...don't work!
Post by: daraku on August 31, 2017, 02:09:20 PM
Ok solved...LOL, I HAVE NOT USE FALL.ANIMTYPE = HARD... :o :o
Title: Re: help with movecontact state controllers...don't work!
Post by: O Ilusionista on September 01, 2017, 03:34:35 PM
Do not use "movecontact = 1". Use just "movecontact" instead.
SimplePortal 2.3.5 © 2008-2012, SimplePortal