• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Firing stand animation sound only once

Status
Not open for further replies.
Level 14
Joined
Aug 30, 2004
Messages
909
EDIT: Nevermind, I found it.

I am using a "laser" unit as a projectile in my map. The world editor treats it as a "unit", etc., but I move it using triggers and detect targets around it until it hits one, then I kill it and do damage.

I want this laser to play a sound when it fires. This happens rapidly, so I can't trigger the sound. I know how to open up a model in War3ModelEditor and attach sounds. The model has a birth, stand and death animation.

Here is my problem:

Birth: the birth animation does not play when I make the unit. I don't know why, but when I create the unit at a place it does not play this sound. Therefore, the birth animation part is out.

Stand: when I attach a sound to the stand animation, it repeats over and over again so one shot sounds like 4. These units don't live long, just 2.5 seconds, but it still manages to play the sound 4 times.

How do I get the unit to play the sound only once?

Thank you,

Darwin

EDIT: I changed the "stand" animation to "non-looping" and it solved it.
 
Last edited:
Status
Not open for further replies.
Top