SetVolume - SoundCategory

From the CreationKit Wiki
Revision as of 14:26, 26 October 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: SoundCategory Script

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

Syntax[edit | edit source]

Function SetVolume(float afVolume) native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

None

Examples[edit | edit source]

; 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 Also[edit | edit source]