• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Trigger Help with Sound

Status
Not open for further replies.
Level 8
Joined
Jul 3, 2004
Messages
334
Ok, I'm making a map. At the beginning a bunch of creeps attack you and there is supposed to be TrollAttackYes1 sound at the beginning. Well, heres my trigger:
Events:
A Unit enters region(StartTrollTalk)
Conditions:
Unit is equal to DarkTroll 005 <gen>
Actions:
Play Sound TrollAttackYes1
Trigger - turn off <this trigger>
When he enters the region, the sound doesn't play. I tried turning off the turn off trigger action. I even made it "Elapsed Game time is equal to 0.00 seconds" and "Map Initialization" events. Can someone tell me whats wrong? :?
 
Level 8
Joined
Apr 3, 2004
Messages
507
Make a game text message to double-check that the trigger is firing.

Is the unit the one specific dark troll, or is it supposed to work with any dark troll? If it's any, you need a unit-type comparison instead of a unit comparison.

You also might want to try using the action that plays the sound at a point, in this case, the point of the troll's location.

In your condition, you typed only "Unit". Is that "Entering Unit" or "Triggering Unit"? Either should work, although Entering is more specifically applicable, and therefore preferred.

When pasting triggers, if you right-click on the trigger in the editable window and select "Copy as Text" you can get the exact wordage of the trigger without typing it out.
 
Level 9
Joined
Sep 8, 2004
Messages
633
This is really simple, the warcraft editor is in some way bugged, the 'sound- play' string just won't work (i never got it to work)

Instead, use 'sound - play at location (x)'
Play that sound at the location the troll is at, at 100% volume, that will work.

goodluck :)
 
Status
Not open for further replies.
Top