This function returns an array containing the sound asset IDs belonging to the audio group with the given ID.
audio_group_get_assets(group_index);
Argument | Type | Description |
---|---|---|
group_index | Audio Group ID | The index of the audio group |
Array of Sound Asset
var _assets = audio_group_get_assets(audiogroup_default);
In the above code, an array containing all asset IDs in the default audio group audiogroup_default is returned by a call to audio_group_get_assets and stored in a temporary variable _assets.