Thanks for the responses everyone. I had never run into this before now.
Think its a problem everyone runs into at one point or another
However I would suggest that you design your game to not use wait 0. It can cause problems.
In your case you could just move the actions from the second "every tick" to the first one and it would work without wait 0.
A rule of thumb is as Rojo pointed out as well. When you create an object, you have to initialize it in the same event, or a sub event to where it was created.
- Code: Select all
All in same event
Top level: Create object
Set object color (Works)
-----> Sub level
Set object size (Works)
Top level: Set object position (Wont work)
function triggers didn't count as top-level events.
Just saw this
They will work, you just have to make them in the sub level or same level as the create, as shown in the code example.