-
Notifications
You must be signed in to change notification settings - Fork 0
Audio_exists
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Gets whether the given sound resource exists.
- sound, index of the sound resource
Returns a boolean (true or false) whether the sound resource exists or not.
// Demonstrates checking if a sound resource exists or not.
if (audio_exists(snd_shot)
{
// snd_shoot exists
} else {
// snd_shoot does not exist
}NOTOC
This is number 1