Is this possible? I might've written myself into a bit of a bind by not outright destroying objects.
I have a group of sprites all in a container. One sprite is the base and the rest are targets attached to it that get shot at by the player and AI. Destroying a target in the code will obviously destroy the entire container, so instead I marked them as destroyed using variables and animations. Problem is, this doesn't prevent targets from registering in Line of Sight behavior and other code, so AI looking at a "destroyed" target will still consider it a valid target.
Is there a way to make an object exempt from something like this?