Thank you all for your help! That the energy does not always hit 0.0 points helped me much.
My condition now says 1 energy and after the sound played i told the trigger to disable for a few seconds, so that the sound wouldn't go off more than one time.
At the moment it is a one player map with just one hero unit, so this works fine for me.
I dont really like this solution: When the unit has a low or no regeneration rate, than effect wouldn't trigger properly. Perhaps someone has a better solution.
Greetings
Hello mates,
this is probably a dumb question and certainly was answered multiple times, but I got stuck here:
I want to create a simple trigger event, that plays a sound, whenver a units energy reaches zero.
I tried the event "Unit - Property changes" and tried out some different conditions but nothing seems to work.
Thank you for your time and your help.
Greetings Matter
0
Thank you all for your help! That the energy does not always hit 0.0 points helped me much. My condition now says 1 energy and after the sound played i told the trigger to disable for a few seconds, so that the sound wouldn't go off more than one time. At the moment it is a one player map with just one hero unit, so this works fine for me.
Thank you all Greetings Matter
0
I build something that works.
I dont really like this solution: When the unit has a low or no regeneration rate, than effect wouldn't trigger properly. Perhaps someone has a better solution. Greetings
0
Hello mates, this is probably a dumb question and certainly was answered multiple times, but I got stuck here:
I want to create a simple trigger event, that plays a sound, whenver a units energy reaches zero. I tried the event "Unit - Property changes" and tried out some different conditions but nothing seems to work.
Thank you for your time and your help. Greetings Matter