buildingActivated when someone leaves the room the obj is in.
Numeric Arg : percent chance this trigger will be activated.
Argument : not used.
Used with return 0 will prevent the player from leaving the room.
Variables:
%actor% - the character leaving the room.
%direction% - the direction the character is leaving to.
%self% - the object.
Example: TSTAT 89, 27108