• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Windows Audio Issues in Gamemaker File

D

dchsmark89

Guest
One of my students is getting this error:

audio_is_playing argument 1 incorrect type (undefined) expecting a Number (YYGI32)
at gml_Object_Obj_game_Other_4 (line 16) - if (!audio_is_playing(l6C011BEE_0))

I have a completed Teacher file that I have and he has the same exact DND coding as I do, I have looked and looked.

Does anyone have an idea of where and why this is happening. My Teacher file runs fine.
 

obscene

Member
What is l6C011BEE_0 referring to? Usually you check for the name of the audio asset, or an instance of audio.
 
Top