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

Playing sound from offset not working

Level 45
Joined
Feb 27, 2007
Messages
5,578
Works fine for me on 1.36.2.21230 using the following trigger:
  • Melee Initialization
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Sound - Play BloodElfMagePissed5 <gen> at 100.00% volume, skipping the first 1.00 seconds
      • Custom script: call BJDebugMsg("played")
Are you trying to do this to a 3D sound?
 
Level 12
Joined
Jul 5, 2014
Messages
551
Works fine for me on 1.36.2.21230 using the following trigger:
  • Melee Initialization
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • Sound - Play BloodElfMagePissed5 <gen> at 100.00% volume, skipping the first 1.00 seconds
      • Custom script: call BJDebugMsg("played")
Are you trying to do this to a 3D sound?
I've tried with various sounds to the same result. I've tried one similar to your example sound but I've also tried campaign dialogue which isn't 3D by default. It didn't skip.

Edit: This is the test trigger I tried to use. With 3D checked, it didn't play at all. Without it, it plays the full sound, regardless of the skip given.

  • garithos
    • Events
      • Unit - A unit enters region <gen>
    • Conditions
    • Actions
      • Sound - Play A02Garithos38 <gen> at 100.00% volume, skipping the first 10.00 seconds
 
Last edited:
Level 12
Joined
Jul 5, 2014
Messages
551
That won't solve the problem at its root, but here's the line with the first 10 seconds cut away (rename it as .wav to make it work properly pre-reforged)
So, the trigger itself doesn't work well? That sucks. I was hoping there was a fix for it.

Thanks but that was a test trigger, I don't need a 10 sec cut version. I have audacity to cut down voicelines if it's really needed but I was hoping to avoid it because imported files can really increase the map's size.
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
So, the trigger itself doesn't work well? That sucks. I was hoping there was a fix for it.
I just tried again with A02Garithos38 straight from the sound editor in a blank map and it skipped 10s properly. Whatever the issue is it's specific to your map. Are you fully updated? I do not think you're using Lua as the map script language, right? I don't have any other specific ideas for why it doesn't work for you.
 
Level 12
Joined
Jul 5, 2014
Messages
551
I just tried again with A02Garithos38 straight from the sound editor in a blank map and it skipped 10s properly. Whatever the issue is it's specific to your map. Are you fully updated? I do not think you're using Lua as the map script language, right? I don't have any other specific ideas for why it doesn't work for you.
I'm with the 1.26 version. I'm not using Lua, I think it's not working with JASS related custom scripts.
 
Top