Activates when a hostile AI enters the room and deactivates when they have all left. The message Intrusion is sent along ControlDevice links on entry and Privacy is sent on exit. The M-NotifyRegion metaproperty is used so dead or knocked-out AI are not counted.
Inherits | BaseRoomScript |
---|---|
Messages | CreatureRoomEnter, CreatureRoomExit, Obituary, Intrusion, Privacy |
Links | ControlDevice, Population |
Metaproperties | M-NotifyRegion |