Difference between revisions of "SetSoundVolume"

From Onset Developer Wiki
Line 15: Line 15:
  
 
{{RelatedFunctions}}
 
{{RelatedFunctions}}
__EDIT_ME__
+
* [[GetSoundVolume]]
 +
* [[CreateSound]]
 +
* [[DestroySound]]
 +
* [[SetSoundPitch]]
 +
* [[GetSoundPitch]]

Revision as of 17:16, 13 November 2019

SetSoundVolume

Type: Function
Context: Client
Introduced: v1.0

Description

Set the specified sound's volume.

Syntax

SetSoundVolume(sound, volume)

Parameters

  • sound
    The location of the audio file that you want to stream or the .pls audio stream link.
  • volume
    A float modifier between 0 to 2, where 1 is 100% volume and 2 is the 200% volume.

Return Value

  • __EDIT_ME__

Example

__EDIT_ME__

See also