Xer0botXer0
Senpai
GML:
obj_tree create event:
var inst = instance_create(x,y,obj_apple);
inst.quality = "great";
obj_apple create event:
quality = "";
nice = false;
if quality == "great"
{
nice = true;
}
but from what I can see .. the variable quality is equal to nothing "" in the debugger..
So I assume as soon as an instance is created, the create event for that instance is run before the next line is run from the object that created it..
and so quality is only assigned a value after its create event has run.
Is this correct ?