Get the object that last left the calling object.
Returns the object that last left the caller. This function works on triggers, areas of effect, modules, areas and encounters.
Return a value of OBJECT_INVALID on an error.
For AOE's, when they are destroyed (End of Duration or DestroyObject()), the Exit event fires for all of the creatures within it, so it can remove effects done OnEnter - and, for the event, the OBJECT_SELF is still valid.
author: John Shuell, editor: Jasperre