set_ui_element

Sets character-related UI sprites and sounds, such as the victory theme or their HUD icon.

Uses the following indexes

ArgumentTypeDescription
type:realThe type of UI element to set
value:intThe custom asset to set it to

Example, called from load.gml:

set_ui_element( UI_WIN_THEME, sound_get( "custom" ));