Particle Collision Assistance

Greetings Unity Community!

Here is the situation Im working on. Ive built a flamethrower tower for a little tower defense game. Everything is working great so far, acquiring targets, tracking said targets, and only firing when its target is in range. Last little bit to program in is to have the flames apply damage to its target when its hit. My other projectile base turrets just send out a ray, and then if it hits it sends a message to its target applying the appropriate damage to the targets health.

Not sure how to program that for the particle collisions though. Ive got them set to collide, and turned on the “Send Message” checkbox. I just need to figure out how to properly get the particle collisions to send the message to the target to apply damage. Im not sure of the syntax and what not, having only done it with raycast hits before. Any insight would be greatly appreciated.

This should do it,
“Shuriken particle system:
This message is sent to scripts attached to particle systems and to the Collider that was hit.”

Oh nice! I wasnt aware that Shuriken had a predefined OnParticleCollision function I could call. Seems simple enough, put OnParticleCollision on my enemy unit, throw in some checks so things like smoke doesnt trigger it, and then use the same type of system I have in place for my other turrets to reduce its health. Ill give it a go!

Edit: Boy can I just not get this to work correctly. Doesnt seem that complicated but the test target will just not take damage.