Closed EnigmaBot closed 11 years ago
(Posted by on the ENIGMA forums)
Is it possible to modify the issue title ? I wanted to write '...works only for leaves'
Thats not the issue, even inheritance and parenting is not added until the new compiler is complete.
That has nothing to do with the new compiler; it's to do with the fucked up way in which TGMG hacked instance deactivation in. I'll deal with it after everything else is out of the way. I want the main instance system to be instantiable so we can add threading in relatively simply. When that's done, deactivated instances will just be a dead thread.
And no, there's no way to edit the title. Not even I can do that.
I've checked this off of #427 because it is no longer reproducible on the current master.
I created the following test GMK in GM8: instance_activate_child_test.zip
instance_deactivate_object(object1)
deactivates the parent (which does not exist)instance_activate_object(object2)
activates the instances which are children of object1
and do existinstance_activate_object(100001)
activates a single instance of object2
The project behaves the same in GM8 and ENIGMA on current master. There were further no exceptions running it in gdb with debug symbols and the game process exited normally. So it looks like this one does not exist anymore.
This was possibly fixed by #898
(Posted by on the ENIGMA forums)
If you have an hierarchy of objects and you deactivate the parents, it's not possible to activate again the parents, only the childs. This is not the case in GM.