Background for Skyrim SE
Member of the SoundCategory script
voidfunctionSetVolume(floatafVolume)Native

Description

Wiki Description

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

Documentation Comment

Set a volume modifier [0.0 - 1.0] for any sounds in this category


Caveats


Parameters

floatafVolume


Examples

; 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)

Auto-Generated Example

float myFloat__afVolume

mySoundCategory__toCallFunctionOn.SetVolume(myFloat__afVolume)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.