Hello,
I was working on getting helper projectiles destroy each other and so far, I'm able to get the ones with velocity collide and destroy each other properly like HP projectiles destroying SP projectiles and HP projectiles colliding with each other destroying each other
However, now that I'm trying to get to have the traveling projectile collide against a helper based projectile that's fixed in one spot, here's where I ran across a problem for at least colliding a Special projectile that's just in place against a traveling super projectile.
I'm trying to get the special projectile that have fixed position destroyed when it collides with the traveling super projectile but when the special projectile that's in fixed position (non traveling one) and the traveling super projectile collide, if the special projectile hit the super projectile with it's tip of the hitbox, it was able to destroy the super projectile but when it wasn't hitting the super projectile with it's tip, that's the only time it gets destroyed.
Here are the hitoverrides in their respective states
For the fixed position special projectile:
[State 10012, override]
type = HitOverride
trigger1 = 1
attr = SCA, AA, AP, AT
stateno = 1002
time = -1
slot = 1
ignorehitpause = 1
Note:this one have attr = S, SP in it's hitdef and 1002 is the destroyed state
For the traveling super projectile:
[State 10012, override]
type = HitOverride
trigger1 = 1
attr = SCA, NA, NP, NT, SA, SP, ST
stateno = 2001
time = -1
slot = 1
ignorehitpause = 1
[State 10012, override]
type = HitOverride
trigger1 = 1
attr = SCA, HA, HP, HT
stateno = 2002
time = -1
slot = 2
ignorehitpause = 1
Note:this one have attr = A, HP in it's hitdef and 2002 is the destroyed state
So far, the problem is applied to the super projectile that's traveling slower (maybe that's why I'm able to have time be able to hit it with it's tip but I wanted this projectile to remain in this kind velocity)
I already applied different stateno for different hitoverrides with different attr to put them to their respective stateno when hit by specific attr but it's just that for some reason when hit by the tip, it can destroy projectile with attr that's not supposed to be destroyed. I don't know if there's something I might be missing here that it doesn't want to behave how I wanted to be.