• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Syncing dummy projectiles and effects {detecting when a projectile hits a unit}

Status
Not open for further replies.
Level 8
Joined
Nov 9, 2008
Messages
502
Hello Hive.

I'm just chilling today thinking about the several systems I'm needing to implement into my UFO: Aftershock tribute map.

Because I need to highly mod the attack system with a widely variable accuracy system, I'm wondering if there are simple ways I can detect when a projectile model hits a target without using a distance/speed formula.

If there is it would make my life easier by allowing me to simply give the damage to target whenever I wish at the right time.

P.S. I use the GUI, so a reliable damage system would be a stretch for me and if the attack deals no base damage (like a dummy) it wouldn't detect it, true?
 
Level 6
Joined
Jul 22, 2008
Messages
243
I don't think you can track the effect, you would have to make them 1-1 damage and use damage detection instead I guess.
 
Level 8
Joined
Nov 9, 2008
Messages
502
Meh. I was hoping not to. So I'll have to learn how to correctly write jass just for a damage detection system. -.-

I could use a distance/time formula but it would be off for moving targets.
 
Level 8
Joined
Nov 9, 2008
Messages
502
Ye I know that method but if I'm entering an event for every unit and there's no way to null those events, this trigger grows and grows. I don't what effect this has on performance either.
 
Status
Not open for further replies.
Top