collapse

Author Topic: help with movecontact state controllers...don't work!  (Read 786 times)

0 Members and 1 Guest are viewing this topic.

Offline daraku

  • Forum Member
  • ***
  • Posts: 214
  • Last Login:October 05, 2022, 04:37:27 AM
    • Email
help with movecontact state controllers...don't work!
« 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



Offline warner

  • IMT Content Architect
  • *
  • Posts: 458
  • Country: El Salvador sv
  • Last Login:May 09, 2021, 03:12:58 AM
    • Email
Re: help with movecontact state controllers...don't work!
« Reply #1 on: August 30, 2017, 08:43:29 PM »
i think u must remove " ! " or try " movecontact = 1 "
No estaba Muerto...

Offline daraku

  • Forum Member
  • ***
  • Posts: 214
  • Last Login:October 05, 2022, 04:37:27 AM
    • Email
Re: help with movecontact state controllers...don't work!
« Reply #2 on: August 31, 2017, 02:09:20 PM »
Ok solved...LOL, I HAVE NOT USE FALL.ANIMTYPE = HARD... :o :o

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12459
  • Country: Brazil br
  • Last Login:April 01, 2024, 11:02:34 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: help with movecontact state controllers...don't work!
« Reply #3 on: September 01, 2017, 03:34:35 PM »
Do not use "movecontact = 1". Use just "movecontact" instead.

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

* IMT Calendar

April 2024
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 [18] 19 20
21 22 23 24 25 26 27
28 29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal