audio_group_is_loaded

This function will check a specific audio group to see if it has been loaded into memory, ready for use.

 

Syntax:

audio_group_is_loaded(groupID);

ArgumentTypeDescription
groupIDAudio Group IDThe index of the audio group to check (as defined in the Audio Groups window)

 

Returns:

Boolean

 

Example:

if audio_group_is_loaded(audiogroup_level1)
{
    audio_group_unload(audiogroup_level1);
}

The above code checks to see if an audio group has been loaded and if it has it unloads it.