M
MMGames
Guest
Dear people,
I wonder if any of you can help me with the following. I have a game initiator object that will assign a value into a global variable. Then that same object will create a new instance of another object, which based on the previous value will be created in one or other way.
The strange part it says "the variable not set before reading it" but it's set right before creating the instance.
I am using object development not GML. Can any of you help? I am sending screenshots.
Initiator object:
Object which instance we create:
Full error message:
I wonder if any of you can help me with the following. I have a game initiator object that will assign a value into a global variable. Then that same object will create a new instance of another object, which based on the previous value will be created in one or other way.
The strange part it says "the variable not set before reading it" but it's set right before creating the instance.
I am using object development not GML. Can any of you help? I am sending screenshots.
Initiator object:
Object which instance we create:
Full error message: