Mod:Creation Kit/SetVolume - SoundCategory

Member of: Mod:Creation Kit/SoundCategory Script

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

Syntax
Function SetVolume(float afVolume) native

Parameters

 * afVolume: The modifier to apply (from 0 to 1)

Return Value
None

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