I want to attach an FSM to a baddie that will send an event when the object is destroyed. Is there an FSM action based way to do this?
I've tried other methods but if I can simply broadcast an event upon the destruction of the object that would make life really easy.
Something obvious I'm missing? A fundamental reason you can do what I'm trying to do?
One thing I'll try when I'm home from work later is to have a Get Property set for every frame to check if the object is not Enabled... then the only question is will an object destroyed count as "not enabled" or fail to register on the FSM before being destroyed.
And as I'm about to post I'm also wondering if having an object as a child might help, as opposed to storing the "check for destruction" happen on the object itself.
Forgive me if I haven't described things well enough to make any suggestions, I'm in a bit of a hurry this morning.