• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Legacy GM Reactivation of recently deactivated instances

C

chegr

Guest
I deactivate certain instance of object A in Step event.
Then, instantly, a single instance of another object (B, activated all the way) reactivates all instances of A in End step event, but it won't happen. No error, instance simply doesn't appear in Instances' list in debug mode.
RTFM doesn't help.
When exactly all activation processes happen? Why does it happen?
 
C

chegr

Guest
There have to be a step between an activation and deactivation if you want it to work.
Thanks, I understand I need to change the way I do it now, but it's o tight already, so I need to know WHEN it happen in order of events, rather then it should be accessed in next cycle. I can't figure out the narrowest gap between these calls.
 

RangerX

Member
No matter when it happens. The same instance can activate or deactivate once in the same step. (or so I think)
I don't remember clearly but I think I tested that before for my activation/deactivation system in my game. And seeing your problem there, it sounds like its right on.
Test it, deactivate the object one step and reactivate it the next step.
 
Top