Hey guys.
I'm making a zombie simulation map.
Basically what I'm trying to tackle at the moment is a trigger that adjusts the volume of an ambient zombie crowd sound I have to the appropriate level based on how many zombies there are in the players camera bounds.
So for example, there are only 5 zombies in the players camera view, so the volume of the sound is set to 10%.
Then the player scrolls across the map to an area with 50 zombies, so the sound volume goes up to 80%.
Is this possible? And is it also possible to make it relative to each player? I don't want players who can't see any zombies hearing a horde if you see what I mean.
I would rather this trigger were written in GUI form if possible, I have no idea how to use JASS.
Thanks guys.
I'm making a zombie simulation map.
Basically what I'm trying to tackle at the moment is a trigger that adjusts the volume of an ambient zombie crowd sound I have to the appropriate level based on how many zombies there are in the players camera bounds.
So for example, there are only 5 zombies in the players camera view, so the volume of the sound is set to 10%.
Then the player scrolls across the map to an area with 50 zombies, so the sound volume goes up to 80%.
Is this possible? And is it also possible to make it relative to each player? I don't want players who can't see any zombies hearing a horde if you see what I mean.
I would rather this trigger were written in GUI form if possible, I have no idea how to use JASS.
Thanks guys.