• 🏆 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!

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