SetVolume

From VisionaireWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.