Author Topic: obj_gun  (Read 106 times)

FastFrog

obj_gun
« on: September 13, 2021, 02:40:47 PM »
here is the error when i try to pick up the obj_gun,   
___________________________________________
############################################################################################
ERROR in
action number 1
of  Step Eventobj_gun
for object obj_char:

Variable obj_gun.from_auto(100563, -2147483648) not set before reading it.
 at gml_Object_obj_char_Collision_par_pickup (line 48) - if other.pick = 0 or other.alarm[5] != -1 or (other.pick = 1 and other.from_auto = 0)
############################################################################################
gml_Object_obj_char_Collision_par_pickup (line 48)


ive gone to line 48 but i have no idea what to write,,, or is my problem somewhere else