Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Error catcher mistakenly flags game maker's built-in "AudioEffectType" enum

A topic by Burger Kurger created 19 days ago Views: 38 Replies: 2
Viewing posts 1 to 2

Title pretty much says it all, here's what the console outputs when GMLive tries to update code with the "AudioEffectType" enum:

[GMLive][11/12/2025 10:38:01 PM][ERROR] Runtime error: [error] `instance#ref instance 102469(oSpacialAudio)` (instance of oSpacialAudio) does not have a variable `AudioEffectType`

Developer (1 edit)

Built-in enums are new and a bit of a funny matter because they are defined in fnames like this

AudioEffectType#*

??AudioEffectType
Bitcrusher?#*
Delay?#*
Gain?#*
HPF2?#*
LPF2?#*
Reverb1?#*
Tremolo?#*
PeakEQ?#*
HiShelf?#*
LoShelf?#*
EQ?#*
Compressor?#*

But you can do this for now in the end of obj_gmlive’s Create event

var e:live_enum = live_enum_create_builtin("AudioEffectType");
e.h_add("Bitcrusher", AudioEffectType.Bitcrusher);
// ... more h_add() calls for enum items

Ohhh I see, thank you very much for the insight!