• 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.
  • Vote for the theme of Hive's HD Modeling Contest #7! Click here to vote! - Please only vote if you plan on participating❗️

Special Effect on each Tower

Status
Not open for further replies.
Level 4
Joined
Sep 15, 2013
Messages
53
Hello guys! Im doing a trigger function in which a special effect will show whenever a tower dies. Note that there are 3 towers (with the same unitid) in my map. They are placed in the top middle and bottom. How do i get a different special effect play for each tower?
 
Level 7
Joined
Jan 23, 2011
Messages
350
Make a different trigger for each unique tower
OR
Make an array var for the sfx model
Set the custom value of the towers to 1-2-3 corresponding to the array of each sfx model, then use this custom value with the variable to create the sfx you need
 
Status
Not open for further replies.
Top