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

problem with sound for ability

Status
Not open for further replies.
Level 2
Joined
Mar 22, 2008
Messages
20
hi
i have a problem to use a sound for a specific action
there i have a ability like mirror image and i want to play my sound, when a mirrorimage dies.

i tryed it with a trigger with a dummy spell and dummy mirrorimages but then i have the problem, that the images look the same like the real one so i dont know whos the real...
when you can help me how to give them an other color by a trigger, that only i can see the difference and the enemy not, i can do it that way
 
Level 2
Joined
Mar 22, 2008
Messages
20
yes
but am i right that when i use this trigger the enemy also see the new color...
but i dont want him to see.
is there anyone who can help me??
 
Level 2
Joined
Mar 22, 2008
Messages
20
both problems...
if i use my trigger i need one which makes the images another color, but only the owner of the casting units should be able to see the different color
if i use the spell mirrorimage i need to know how to make a sound to play everytime a imge dies

i have a trigger for the spell and a modified version of mirrorimage
the only thing i need to complete my work is help with the points i mentioned first...
i favor the triggered spell cause with it i can use more than 9 images
 
Level 10
Joined
Aug 25, 2004
Messages
473
Pick a sound, make it 3d sound, set "fade range" to 10 000 or something
Use real illusions (u can use mirror image or give hero an illusion item each time you want to make one)

Now trigger

Event:
Generic unit dies
Condition:
Boolean - triggering unit is an illusion equels to true
event:
sound - Play 3d sound at Unit position of triggering unit

Or u can replace units death sound with Sound Editor (F5 in world editor)
 
Status
Not open for further replies.
Top