SetVolume - SoundCategory

Member of: SoundCategory Script

Set a volume modifier on any sounds in the given sound category.

SyntaxEdit

Function SetVolume(float afVolume) native

ParametersEdit

None

Return ValueEdit

None

ExamplesEdit

; Increase the volume of the special quest sounds while setting the ambient dungeon volumes to the inverse.
MySpecialQuestSoundsCategory.SetVolume(fspecialQuestSoundsVolume)
AmbientDungeonCategory.SetVolume(1.0 - fspecialQuestSoundsVolume)

See AlsoEdit