Carloskhard
Member
So my problem is that a lot of code in the create event dont seem to activate inmidiatly.
For example:
I have an object that creates a ds_list.
Then another one that create an instance of that list in his "create event", however I got a problem saying the list was not found so I have to tell the object to wait one frame with an alarm and then create that instance calling the list and it works.
Even more.. if I call the variable from the draw event of the other bject it works..So i dont know where is the problem
So the problem is that I'm using a lot of alarms in objects because of this.How can I fix this?
For example:
I have an object that creates a ds_list.
Then another one that create an instance of that list in his "create event", however I got a problem saying the list was not found so I have to tell the object to wait one frame with an alarm and then create that instance calling the list and it works.
Even more.. if I call the variable from the draw event of the other bject it works..So i dont know where is the problem
So the problem is that I'm using a lot of alarms in objects because of this.How can I fix this?
Last edited: