Returns the unique index (real) of the sound asset loaded from the /sounds folder (should be in .ogg format).
Argument | Type | Description |
---|---|---|
sound | :string | The name of the sound to get the index of |
Example, called from ustrong.gml:
// sets the sound assigned to the first ustrong hitbox:
set_hitbox_value( AT_USTRONG, 1, HG_HIT_SFX, sound_get( "custom" ));