HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Musics Leaks?

09-22-2008, 10:19 PM#1
Mike889
I'm using a trigger that plays a music if your team manages to kill the oposite team 5 times in a row. However, when that event occurs, the game freezes for some seconds and began to be played in slow-motion, altough I still have 16 fps.

Does musics leaks?

Trigger:
Owning
Collapse Events
Unit - A unit Dies
Collapse Conditions
((Triggering unit) is A Hero) Equal to True
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
Streak_Owning[(Team number of (Owner of (Killing unit)))] Equal to 5
Collapse Then - Actions
Sound - Play PH1 <gen>
Sound - Set music volume to 100.00%
Game - Display to (All players) the text: (( The team + (String((Team number of (Owner of (Killing unit)))))) + is |cffFFFFFFOWNING!!!|R)
Set Streak_Owning[(Team number of (Owner of (Killing unit)))] = 0
Collapse Else - Actions
Set Streak_Owning[(Team number of (Owner of (Killing unit)))] = (Streak_Owning[(Team number of (Owner of (Killing unit)))] + 1)
Set Streak_Owning[(Team number of (Owner of (Triggering unit)))] = 0
09-23-2008, 01:04 AM#2
botanic
that looks fine to me you have any other triggers that effect a unit death?
09-23-2008, 01:45 AM#3
Ammorth
does the lag happen all the time, or just the first time?
09-23-2008, 11:08 PM#4
Mike889
After the music is played, the lag keeps running forever.
I have others triggers wich events are "A Unit dies".
I'll do further testing on this.