YesNoOk
avatar

Projectile not listening to triggerall (Read 1563 times)

Started by NecusX, May 25, 2020, 12:38:57 am
Share this topic:
Projectile not listening to triggerall
New #1  May 25, 2020, 12:38:57 am
  • **
  • BOOM!
  • I'm a magen dade who knows how to code somewhat
    • USA
For some reason, the projectile definition doesn't listen to the triggerall, but instead uses the same projectile def with different conditions

[State 1000, 2]
type = Projectile
triggerall = var(26)<=15
trigger1 = AnimElemtime(8) = 1
attr = S, SP
projanim = 1010
projhitanim = 1015
projid = 1000
projhits = 3
projpriority = 1
projsprpriority = 4
projedgebound = 220
hitflag =HA,MA,LA,AA
postype = p1
offset = 68,0
velocity = 6.5
damage = 37
animtype = Hard
guardflag = MA
pausetime = 0,4
sparkno = S30002
guard.sparkno = s30040
sparkxy = 0,-30
hitsound = S1000,2
guardsound = S121,0
ground.type = low
ground.slidetime = 17
ground.hittime = 17
ground.velocity = -9,0
air.velocity = -4,-4
air.juggle = 7
fall = 0
air.fall = 1
fall.recover = 0
ownpal = 1

[State 1000, 2]
type = Projectile
triggerall = var(8) >= 1
triggerall = var(26)<=30
trigger1 = AnimElemtime(8) = 1
attr = S, SP
projanim = 1010
projhitanim = 1015
projid = 1000
projhits = 3
projpriority = 1
projsprpriority = 4
projedgebound = 220
hitflag =HA,MA,LA,AA
postype = p1
offset = 68,0
velocity = 6.5
damage = 0
animtype = Hard
guardflag = MA
pausetime = 0,4
sparkno = S30002
guard.sparkno = s30040
sparkxy = 0,-30
hitsound = S1000,2
guardsound = S121,0
ground.type = low
ground.slidetime = 17
ground.hittime = 17
ground.velocity = -9,0
air.velocity = -4,-4
air.juggle = 7
fall = 0
air.fall = 1
fall.recover = 0
ownpal = 1

help would be appreciated.
That will happen to you if you don't wear your seat belts, so make sure to wear your seat belts.
Last Edit: May 25, 2020, 01:30:36 am by NecusX
Re: Projectile not listening to triggerall
#2  May 25, 2020, 12:50:09 am
  • **
  • BOOM!
  • I'm a magen dade who knows how to code somewhat
    • USA
I'm stupid, The engine thinks that the it is just another projectile.
That will happen to you if you don't wear your seat belts, so make sure to wear your seat belts.