bool Character.ScaleVolume
Gets/sets whether the character's volume is adjusted in line with his
current scaling level. This allows you to modify the "Adjust volume with scaling" option
from the editor.
By default, this is false. If you set it to true, then any frame-linked
sounds for the character (for example, footstep sounds) will have their volume
automatically adjusted in line with the character's scaling level. At the normal 100%
zoom level the sounds will be played at normal volume, but will then get quieter
and louder as appropriate in scaled walkable areas.
Example:
cEgo.ScaleVolume = true;
will mean that EGO's footstep sounds are adjusted in line with his scaling
See Also: Character.ScaleMoveSpeed
|