[FIXED]Noobish question about sounds/music in hammer
Quote from Brainstone on June 3, 2012, 6:28 amOh god, what a complete mess.
Okay, I've got one last idea: If I remember right, entities starting with an "@" are handled specially.
Simply try the output: Trigger_once-->OnStartTouch-->@music-->StopSound
And remmber the bugs with ambient_generics I sent you the link to.
You've made me curious now. I'll try to stop the sound too. That can't be that hard.EDIT: Okay, I see that you fixed it. Glad to hear.
Oh god, what a complete mess.
Okay, I've got one last idea: If I remember right, entities starting with an "@" are handled specially.
Simply try the output: Trigger_once-->OnStartTouch-->@music-->StopSound
And remmber the bugs with ambient_generics I sent you the link to.
You've made me curious now. I'll try to stop the sound too. That can't be that hard.
EDIT: Okay, I see that you fixed it. Glad to hear.

Quote from ChickenMobile on June 3, 2012, 8:23 pmBrainstone wrote:Okay, I've got one last idea: If I remember right, entities starting with an "@" are handled specially.On your note here, the @ prefix is used so then an instance will not rename the entity. E.g. An instance you have a portalgun named @portalgun and a pedestal called 'pedestal'. You name the instance gunPed. When compiled and in game pedestal is now called gunPed-pedestal however @portalgun is still called @portalgun, meaning you can have inputs straight to it without worrying about the instance prefix.
On your note here, the @ prefix is used so then an instance will not rename the entity. E.g. An instance you have a portalgun named @portalgun and a pedestal called 'pedestal'. You name the instance gunPed. When compiled and in game pedestal is now called gunPed-pedestal however @portalgun is still called @portalgun, meaning you can have inputs straight to it without worrying about the instance prefix.