audio_group_stop_all


描述

This function will stop all sounds from the given audio group that are currently playing.


语法:

audio_group_stop_all(groupID);


参数 描述
groupID The index of the audio group to stop (as defined in the Audio Groups Window)


返回:

N/A(无返回值)


例如:

if keyboard_check_pressed(vk_space)
   {
   audio_group_stop_all(audiogroup_level1);
   }

The above code checks for the "space" key and then stops all the audio playing from the given group.