HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Cinematics crashing game

11-16-2002, 11:06 PM#1
Guest
Well, I have a big problem with a cinematic i'm doing. What i'm actully trying to do is change the way a building sounds (when a hero is selected by the building and the player selects the building to buy something). Originally I had a sound doing that, then when I tested the map I realized that the sound played for everyone, so I chose a cinematic. So here is what happens.

Unit entering tome merchant 1 trigger
Event: A unit enters tomemerchant1
Condition: Unit Entering is a hero = true
Action: set merchantspeak=true
Action: player group - add owner of entering unit to atmerchantspeak1

Unit selecting tome merchant 1 trigger
Event: Tome merchant 1 <gen> is selected
Condition: Tomemerchant1 speak = true
Action: Player-group: Pick ever player in AtTomeMerchant1 and do if picket player is at tomemerchant1 equal to true then do cinematic - send transmissing to AtTomeMerchant1 from no unit named <empty string>: play TomeMerchant1<gen> and display empty string else do nothing

Ok, that was my last try at it, i've tried it about 10 different ways, if you know why it disconnects everyone BUT the person that clicks on it please tell me, i'm frustrated with this trigger. I just want custom building sounds, if I change the building sound the building no longer makes a sound.
11-16-2002, 11:24 PM#2
Insaniteus
Ok, I have a trick. Attach the sound (3D Sound) to the building in question, but don't have it loop. Then play the sound whenever a hero selects the building. Only players nearby would hear the sound.

-Insaniteus-
11-17-2002, 04:50 AM#3
Guest
I wanna do it right so anyone not using 3D sound can hear it as well. =\ Not that many people out there without a 3D sound card, but I refuse to acknowlege that ther isn't a way to do it without triggers, I found out that its the player group. It works if it sends to all players. One more thing, I put a text message in. I noticed it sends to the other players, but not the player selecting the tome merchant. Why is that? I thought it might be the cinematic mode for some weird reason, so I had it turn it on, then right off after the sound got done, but that didn't work either. So, its down to if only one player can hear the cinematic then only that player deserves to be playing the game, thats cheesy....heh. I think i'll e-mail blizzard about it.