audio_group_load_progress

Get the loading progress for an audio group.

Syntax:

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


Description

This function will check the loading progress for an audio group and return an (approximate) value between 0 and 100.


Example:

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.


Back: Audio Groups
Next: audio_group_name
© Copyright YoYo Games Ltd. 2018 All Rights Reserved