This function queries the index of a sound by name.
Copy Code | |
---|---|
int GetSoundIndex( string Name ); |
Name
Type: string
The name of the sound.
Returns an int with the index of the sound.
Returns INT32_MAX if there is an internal error or the sound was not found.