Z
zarconi
Guest
___________________________________________
############################################################################################
ERROR in
action number 1
of Step Eventobj_point
for object obj_player:
Variable obj_player.snd_comiendo(100026, -2147483648) not set before reading it.
at gml_Object_obj_player_Collision_obj_point (line 4) - audio_play_sound(snd_comiendo,10,0);
############################################################################################
gml_Object_obj_player_Collision_obj_point (line 4)
I've been trying to create a game where the player collides with an object to obtain points and when colliding the object
has to make a sound, but I get the above message.
I'm new to GML and the truth is I haven't found any solution, huh I followed tutorials and I can't find anything, I just have the error with the collisions.
Any help is welcome.
Thank you.
############################################################################################
ERROR in
action number 1
of Step Eventobj_point
for object obj_player:
Variable obj_player.snd_comiendo(100026, -2147483648) not set before reading it.
at gml_Object_obj_player_Collision_obj_point (line 4) - audio_play_sound(snd_comiendo,10,0);
############################################################################################
gml_Object_obj_player_Collision_obj_point (line 4)
I've been trying to create a game where the player collides with an object to obtain points and when colliding the object
has to make a sound, but I get the above message.
I'm new to GML and the truth is I haven't found any solution, huh I followed tutorials and I can't find anything, I just have the error with the collisions.
Any help is welcome.
Thank you.