on_exit

Response Typescript
EntitiesMobiles, Objects
Parameters-

    This trigger will fire when a mobile exits the room. The only entities
capable of catching this trigger are the mobile itself or any objects it
is carrying or has equipped.

@n - The mobile that entered the room.

@o - The same as @i if the trigger owner is an object.