This function will check the loading progress for an audio group and return an (approximate) value between 0 and 100.
audio_group_load_progress(groupID);
参数 | 描述 |
---|---|
groupID | The index of the audio group to check (as defined in the Audio Groups Window) |
Real(实数)
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.