audio_group_load_progress(groupID);
Argument | Description |
---|---|
groupID | The index of the audio group to check (as defined in the Global Game Settings Audio Groups Tab) |
Returns: Real
This function will check the loading progress for an audio group
and return an (approximate) value between 0 and 100.
if load
{
var pc =
audio_group_load_progress(audiogroup_level1);
draw_text(32, 32, "Loading: " + string(pc));
}
The above code checks a variable and if it returns true then some text will be drawn showing the progress of the audio being loaded.