I'm making a game with the help of a tutorial series on youtube
the link -
https://www.youtube.com/playlist?list=PLUQ0xH2XyXg...
im stuck on the part hes making scripts for the ai they show up as blue for him but yellow for me i have no idea why when i try to play the game this is the error i get.
Thank you in advance!
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object obj_enemie:
Variable obj_enemie.aggroRange(100002, -2147483648) not set before reading it.
at gml_Script_scr_enemy_static (line 4) - if (dis <= aggroRange ) {
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_scr_enemy_static (line 4)
called from - gml_Object_obj_enemie_StepNormalEvent_1 (line 2) - script_execute(state);