CSoundPatch.SetSoundLevel

From GMod Wiki

Jump to: navigation, search
Function
Syntax CSoundPatch:SetSoundLevel( Float SoundLevel )
Description:
Change the sound level of a CSoundPatch object.
Returns: nil
In Object: Csoundpatch
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=CSoundPatch.SetSoundLevel]CSoundPatch.SetSoundLevel [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionCauses 'entity' to verbally remind Dr. Freeman to reload (Can be heard from a very long distance)
Used onNewerClient.png
Code
relode = CreateSound(entity, "vo/npc/male01/dontforgetreload01.wav")
relode:SetSoundLevel(90)
relode:Play()
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox