SetVolume
Jump to navigation
Jump to search
setVolume
Sets the general volume for background music, sound or speech output.
Lua Syntax:
setVolume(type, volume)
Arguments
type
- int - The type of volume to return: eMusicVolume (0), eSoundVolume (1) or eSpeechVolume (2).
volume
- int - New value for volume. Must be between 0 and 100.
Flags
Return Values
None.