manhtuan91
Member
Hi,
I'm a beginner.
I have a parent object with some variables like that:
I change the value of Type variable (override in child object):
My Code:
I try to create instance of childen, I get error:
If I use the default option, not override variables, It works. I don't understand.
Please explain it to me.
Thank you.
I'm a beginner.
I have a parent object with some variables like that:
I change the value of Type variable (override in child object):
My Code:
GML:
with(instance_create_layer(x,y,"Instances", oGiftChild)){
}
Code:
Variable oGiftChild.P(100035, -2147483648) not set before reading it.
at gml_Object_oGiftChild_PreCreate_0 (line 2) - type=P;
Please explain it to me.
Thank you.