Hey, I have a problem when I make a new object in game maker.
If I write : "a=instance_create(x,y,object2);a.mode=2" for example.
Then in the create event of the object 2 I wrote that :
if(mode==2){//do something}
and game maker returns me an error "unknown variable 'mode' "
probably because game maker checks the variable mode before to assign when it creates the object2 but idk...
What could I do? (I DON'T WANNA USE ALARMS!)