• 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!

SOLVED DoAdd :2: undefined value

late77

Member
I'm doing for loop to generate a borderless terrain. There appears problem for some reason in ending_room variable. I have not heard about something about what is that error and would appreciate if someone of this forum could help how to get rid of that.
1612277628995.png
 

gnysek

Member
You can't use argument0 outside of function. Above code is now in general scope, and is performed at start of game (probably even before GameStart event). As such, argument0 is not known as variable in this context.

You probably want to convert it into function.
 
your code is outside your commented out function...
I think the error message tries to tell you this is not the way to create macros.
 
Top