I've a hierarchy of objects : obj_monsters -> obj_monsters_level_1 -> obj_monster1, obj_monster2, etc...
When the level starts i deactivate all monsters :
instance_deactivate_object(obj_monster) and then i want to activate the monsters for the current level
instance_activate_object(obj_monsters_level_1 ); It doesn't work. When all instances of monsters are deactivated, you can all only activate directly the child (leaf) objects (obj_monster1, obj_monster2) but not the parents (obj_monsters, obj_monsters_level_1).
I tested the code on GM 8.1 and i don't have this problem. Of course i could find workarounds, but this is annoying.
|