• 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.

[Trigger] Colateral targets

Status
Not open for further replies.
Level 24
Joined
Feb 27, 2019
Messages
833
No. The instance you cast the spell there are no secondary targets. They are calculated the instance the chain jumps. There is no variable for the secondary targets. One trick to find the secondary targets is to use a specific dummy unit to deal the damage, if the unit dealing damage is this specific dummy, we know it comes from that specific spell. Depending on what effects you want it may be enough. There is another way using damage detection without the dummy aswell but I am not sure how to do it.

The best way however would be to trigger the chain spell because it allows to find all targets and gives more control to change the spell. Chain spells are not easy to make because of the lightning and effects of the chain spell. If someone has a good guide on how to create chain spells or has any examples or a chain system it would be very nice! :)
 

zam

zam

Level 3
Joined
Jan 1, 2021
Messages
31
If i'm not mistaken Chain lighting applies a buff eachtime it's spread to secondary targets. You can detect that by a DDS and apply certain stuff you want.
 
Status
Not open for further replies.
Top