[Solved] Mounting triggers "Area on Exit"

Hello,

I noticed that mounting a horse (by using the radial menu) triggers the “Area on exit script”. The PC didn’t actually leave the area, just mount a horse, but in a technical way the engine seems to think so.

The phenomenon appears in 1.69/diamond and EE.

Is that a normal behaviour? A known bug? Or do I have some undetected fault somewhere in my scripting?

I’ll check this out.

Theory to be validated - mounting destroys the horse, so probably the horse triggers the area exit script, which ought to check that the exiting object is a PC.

Theory verified, thanks! So OnExitArea is triggered on any creature

1 Like

Seems reasonable, since spawning any creature fires area OnEnter.