• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Why this doesn't works

Status
Not open for further replies.
Level 18
Joined
May 11, 2012
Messages
2,108
why those triggers not works?

  • Music Orc 1
    • Events
      • Player - Player 1 (Red) types a chat message containing -music orc1 as An exact match
      • Player - Player 2 (Blue) types a chat message containing -music orc1 as An exact match
      • Player - Player 3 (Teal) types a chat message containing -music orc1 as An exact match
      • Player - Player 4 (Purple) types a chat message containing -music orc1 as An exact match
      • Player - Player 5 (Yellow) types a chat message containing -music orc1 as An exact match
      • Player - Player 6 (Orange) types a chat message containing -music orc1 as An exact match
      • Player - Player 7 (Green) types a chat message containing -music orc1 as An exact match
      • Player - Player 8 (Pink) types a chat message containing -music orc1 as An exact match
    • Conditions
    • Actions
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Sound - Play Orc1 <gen>
      • Custom script: endif
  • Music Nightelf 1
    • Events
      • Player - Player 1 (Red) types a chat message containing -music nightelf1 as An exact match
      • Player - Player 2 (Blue) types a chat message containing -music nightelf1 as An exact match
      • Player - Player 3 (Teal) types a chat message containing -music nightelf1 as An exact match
      • Player - Player 4 (Purple) types a chat message containing -music nightelf1 as An exact match
      • Player - Player 5 (Yellow) types a chat message containing -music nightelf1 as An exact match
      • Player - Player 6 (Orange) types a chat message containing -music nightelf1 as An exact match
      • Player - Player 7 (Green) types a chat message containing -music nightelf1 as An exact match
      • Player - Player 8 (Pink) types a chat message containing -music nightelf1 as An exact match
    • Conditions
    • Actions
      • Custom script: if GetLocalPlayer() == GetTriggerPlayer() then
      • Sound - Play NightElf1 <gen>
      • Custom script: endif
 
What isn't working exactly? Sound isn't being played?

<< Edit >>

Is your sound enabled?

Does the sound plays correctly on the sound Editor?

Is the sound marked as 3D in the sound editor? if it's, disble it.
 
Last edited:
What isn't working exactly? Sound isn't being played?

<< Edit >>

Is your sound enabled?

Does the sound plays correctly on the sound Editor?

Is the sound marked as 3D in the sound editor? if it's, disble it.

yes, it is

I does plays correctly

no, it's not marked s 3D

I noticed when I type the string ingame, the trigger doesn't even runs(there's no small delay(0.00000001 secs) when I type it)
 
Well, use some "Game - Display Text Message" action just to know if the trigger is running if it displays nothing, then it's something related to the event or the input text string.
 
Then it's probably the sound. At least try converting one sound and testing, so you can check if it's the sound file extention the one that's screwing thing up.
 
I have the feeling that, sometimes, Warcraft screws up some audio files. Try removing the sounds, saving, Closing WE, reimporting the sounds and testing.
 
ok, now it works(lol). But I have a problem again. How can I make it plays the ''music'' not the ''sound'' if you understand me. When I type -music orc1 ingame, it plays the music, but through the sound system and when I uncheck the sound ingame(in the menu), the music stops. I want it to play through the music system :=)
 
Status
Not open for further replies.
Back
Top