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

[General] to not hear -"your building is complete"

Status
Not open for further replies.
Level 15
Joined
Feb 7, 2020
Messages
398
I was able to get this to work by going into game interface and shift-clicking the Job Done path and changing it to null.

It did not work when set to None or _.

upload_2020-5-10_7-31-45.png
 

Attachments

  • no_buid_finished_sound.w3m
    13.4 KB · Views: 32
Level 25
Joined
Mar 29, 2020
Messages
1,466
thanks, but that would change the whole game. I want most buildings to function normally and only change this on one unit (a hero ability based off of ivory tower)

previously I had this ability based of off a summoning ability, and then it had a different problem - I couldn't get it to show where the full building would be and only build on clear pathing, but rather just select a point on the ground, and if there wasn't enough buildable room it would build the unit somewhere else nearby. so if that is an easier fix (=to summon a ward and have it act like building a building - show you the green/red shadow of the building and only "cast" when it can build where you told it to) that will also help :smile: thx!
 
Last edited:
Level 30
Joined
Feb 18, 2014
Messages
3,623
thanks, but that would change the whole game. I want most buildings to function normally and only change this on one unit (a hero ability based off of ivory tower)
Do what @Planetary said then trigger the sound for the other buildings.
  • Test
    • Events
      • Unit - A unit Finishes Construction
    • Conditions
      • (Unit-type of (Constructed structure)) Not equal to Ivory Tower
    • Actions
      • Custom script: if GetLocalPlayer() == GetOwningPlayer(GetConstructedStructure()) then
      • Sound - Play JobDone <gen>
      • Custom script: endif
 
Level 15
Joined
Feb 7, 2020
Messages
398
thanks.... that sounds so backwards...it frustrating when the editor is so rigid.... there's no way to just script - action - dont play sound?
You're thinking about it from the wrong perspective. In this use case we're essentially nullifying the default behavior that is, indeed, hard coded into the engine and bringing it under our explicit control since there are no actions to simply stop a building-finished sound

If there's another method, someone will post it. If not, this bypasses waiting around for someone to come up with the specific feature you desire. It's worth noting it's not a very resource-intensive fix.
 
Level 30
Joined
Feb 18, 2014
Messages
3,623
how do I set this? I only have access to sounds that I specifically set up in the sound editor and can than use as variables, but how do i do some thing general like - build finish sounds for any race?
I'm afraid you will have to do it manually for each race like this :

If race of (Owner of (Constructed Structure)) Equal to Human then Play Peasant Job Done.
 
Status
Not open for further replies.
Top