• 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.

Sound doesnt playing and a little doubt

Status
Not open for further replies.
Level 4
Joined
Jan 3, 2013
Messages
69
I've been trying to do a storm like :grin:, and it resulted better than expected but the sound i picked its not playing :cry:
Here is the trigger, also, if you have an idea of making a more efficient GUI storm, i will follow it with all pleasure :thumbs_up:
  • Events
    • Time - Every 0.03 seconds of game time
  • Conditions
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • StormEnd Less than 500.00
      • Then - Actions
        • Trigger - Turn off (This trigger)
        • Wait (Random real number between 2.00 and 7.00) seconds
        • Trigger - Turn on StormUp <gen>
        • Player Group - Pick every player in (All players) and do (Camera - Shake the camera for (Picked player) with magnitude 4.00)
        • Sound - Play RainOfFireTarget1 <gen>
      • Else - Actions
        • Environment - Set fog to style Linear, z-start 500.00, z-end StormEnd, density 0.75 and color (0.00%, 0.00%, 0.00%)
        • Set StormEnd = (StormEnd - 50.00)
  • StormUp
    • Events
      • Time - Every 0.03 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • StormEnd Greater than 4000.00
        • Then - Actions
          • Trigger - Turn off (This trigger)
          • Wait 1.00 seconds
          • Trigger - Turn on StormDown <gen>
          • Player Group - Pick every player in (All players) and do (Camera - Stop swaying/shaking the camera for (Picked player))
        • Else - Actions
          • Environment - Set fog to style Linear, z-start 500.00, z-end StormEnd, density 0.75 and color (0.00%, 0.00%, 0.00%)
          • Set StormEnd = (StormEnd + 200.00)
EDIT:I found out the solution, 3D sounds cant be played with "Play Sound"
 
Last edited:
Level 4
Joined
Jan 3, 2013
Messages
69
Something like this maybe? PS: It's a bit funny using a timer for just 1 second
  • StormDown Timer
    • Events
      • Time - StormTimer[1] expires
    • Conditions
    • Actions
      • Trigger - Turn on StormUp <gen>
      • Player Group - Pick every player in (All players) and do (Camera - Shake the camera for (Picked player) with magnitude 4.00)
      • Sound - Play RainOfFireTarget1 <gen>
  • StormUp Timer
    • Events
      • Time - StormTimer[2] expires
    • Conditions
    • Actions
      • Trigger - Turn on StormDown <gen>
      • Player Group - Pick every player in (All players) and do (Camera - Stop swaying/shaking the camera for (Picked player))
 
Status
Not open for further replies.
Top