• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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