Destroying Projectiles isn't working

I have 2 problems with the projectiles, they do not destroy on-contact with walls and a selected unit.

1 Like

Change

If (( projectile type of ( last touched projectile ) )) == (Staff Projectile)

to

If ((projectile type of ( triggering projectile ) )) == (Staff Projectile)

And change destroy ( last touched projectile ) to destroy ( triggering projectile )
Otherwise, it doesn’t work.

3 Likes

Just add a Trigger called: when a projectile touches wall right beside when a unit starts touching projectile

An example of mine:
image

2 Likes

You can also try enabling ‘Run on client-side’ on the action that destroys the projectile.

3 Likes