GetVolume

From VisionaireWiki
Jump to navigation Jump to search

getVolume

Returns the general volume for background music, sound or speech output.

Lua Syntax:

getVolume(type)

Arguments

type

int - The type of volume to return: eMusicVolume (0), eSoundVolume (1) or eSpeechVolume (2).

Flags

Return Values

volume
The queried volume.