So in my map I have several areas where terrain and Doodads are hidden initially and will be revealed with triggers, and potentially hidden again subsequently. However while I've got all the rest of the triggering sorted, when hidden the sound emitters for the hidden doodads and units still play. I've had no luck finding a Trigger or Actor Message for disabling these on the fly, I know I'm probably being blind but any help would be greatly appreciated!
I thought the Actor Message SoundSetMuted would be the solution but it didn't appear to have any effect :(
But doesn't that permanently destroy them? I need the doodads and such to be hidden initially and revealed partway through the mission? Or am I reading too much into 'Destroy'?
So in my map I have several areas where terrain and Doodads are hidden initially and will be revealed with triggers, and potentially hidden again subsequently. However while I've got all the rest of the triggering sorted, when hidden the sound emitters for the hidden doodads and units still play. I've had no luck finding a Trigger or Actor Message for disabling these on the fly, I know I'm probably being blind but any help would be greatly appreciated!
I thought the Actor Message SoundSetMuted would be the solution but it didn't appear to have any effect :(
Thank you
Kani
Use the Destroy actor message.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
But doesn't that permanently destroy them? I need the doodads and such to be hidden initially and revealed partway through the mission? Or am I reading too much into 'Destroy'?
Thanks
You can have a base doodad that has the Sound actors hosted as an attachment. You can then destroy and create them as needed.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
That makes sense. Thanks.