Music Trigger
Nov 27 2007, 10:26 am
By: TristanOfVP  

Nov 27 2007, 10:26 am TristanOfVP Post #1



Alright I'm trying to make a trigger that plays music over and over, but I have wait triggers that conflict with the looping of the music. Is there any way you guys know of to do music triggers that loop consistantly and don't create wait blocks?

Any help is appreciated as always.
Thanks.



None.

Nov 27 2007, 11:37 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

You would need hypertriggers and replace the wait with a death counter:

Always -> Subtract 1 death of MUSIC DC for Current Player

Current Player has suffered at most 0 deaths of MUSIC DC ->
Set MUSIC DC of Current Player to x
Play wav

x is the number of seconds the song playes (realtime) x12
=> 60s song -> x = 720




Nov 27 2007, 7:40 pm who Post #3



If you don't have hypertriggers, I believe it'll subtract 1 death about every two seconds.



None.

Nov 28 2007, 8:40 pm Vrael Post #4



Isn't it 1 death every second without hyper triggers? The triggers run once a second without hyper triggers so that probably makes more sense.



None.

Nov 28 2007, 8:45 pm Esponeo Post #5



Quote
Isn't it 1 death every second without hyper triggers? The triggers run once a second without hyper triggers so that probably makes more sense.
Except they don't. They supposedly run once every two seconds.



None.

Nov 29 2007, 5:06 pm NudeRaider Post #6

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Vrael
Isn't it 1 death every second without hyper triggers? The triggers run once a second without hyper triggers so that probably makes more sense.
Triggers are checked every 2 game seconds, which is about 1,5s realtime on speed 7. PERIOD

Why you ppl always have to post wrong info you even not sure about?!
Like "I have no clue, but I will post a random guess (because it sounds good)" -gj man...
Btw. it would be easy to make a map with a countdown timer and add 1 mins per trigger loop to verify.

PLS DONT POST IF YOU ARE NOT SURE...
thats not helping, thats just confusing.




Nov 29 2007, 10:24 pm TristanOfVP Post #7



I would like to thank NudeRaider, I got it to work, I just have to replace some other triggers with waits to make it wait block free.



None.

Nov 29 2007, 11:25 pm Vrael Post #8



My bad man, just there's not much percieved discrepancy between 1.5s and 1s when a trigger runs once a cycle. Sorry I was wrong.



None.

Nov 30 2007, 12:03 am TristanOfVP Post #9



The timing is kinda wierd I had to play with it, I have a 13 second sound clip and I use 9deaths, that seems to make it loop the best.



None.

Nov 30 2007, 7:55 pm who Post #10



Yeah, since its about 1.5 seconds without hypers (which you don't have), 9*1.5=13.5, which is about the time of your sound clip.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
Please log in to shout.


Members Online: NudeRaider