I am currently in the process of creating an event to control multiple layers that are dependent on the players location or state. The goal here is to have a single piece of music (per major area) that adapts to whatever environment the player is in. The best solution I have come up with so far is to automate track volume using parameters so that the programmer can simply change the values based on player state. There will be 4 main states that will require track layers to be turned on, off, or reduced in volume.
For example:
When āOutsideā
- outside = 0 (full volume)
- inside = 2 (off)
- percussion = 0 (full volume)
- bass = 0 (full volume)
When āInsideā
- outside = 2 (fade to off)
- inside = 0 (fade to full volume)
- percussion = 1 (half volume)
- bass = 1 (half volume)
There will also be states for night time and underwater that would require creating and changing additional parameters. Is there a more efficient way to control multiple parameters at once? Is it possible to group them into a single parameter? Also, could a similar effect be achieved by using nested events or snapshots?