When calling instance_deactivate_object and giving a parent object (so that I can deactivate an entire class of objects at once) it doesn't deactivate the objects.
It's fine if you give it a specific object to deactivate or use instance_deactivate_all, but the deactivation of a parent object doesn't cascade down to its children.
Known issue?
Doing something wrong?
Working as intended?
instance_deactivate_object not working
Started by Madcat, May 20 2012 01:58 PM
1 reply to this topic
#1
Posted 20 May 2012 - 01:58 PM
#2
Posted 20 May 2012 - 05:07 PM
There seems to be some ambiguity in the way objects are handled when used in place of instances. The safest solution seems to be to use the "with" construct to iterate the list.When calling instance_deactivate_object and giving a parent object (so that I can deactivate an entire class of objects at once) it doesn't deactivate the objects.
It's fine if you give it a specific object to deactivate or use instance_deactivate_all, but the deactivation of a parent object doesn't cascade down to its children.
Known issue?
Doing something wrong?
Working as intended?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











