User Tools

Site Tools


tnhscript:doorfrobinert

DoorFrobInert

Add and remove the FrobInert metaproperty based on the door state of this object. If the door is breakable, then the metaproperty is permanently removed when the door is Slain. A wooden door, for example, is still solid even when slain, but a glass door isn’t.

Inherits ObjFrobInert
Messages DoorOpening, DoorClose, Slain
Parameters breakable (boolean) Once the door is slain, it will be treated as always open. The default is to ignore Slain.
tnhscript/doorfrobinert.txt · Last modified: 2010/11/23 00:11 (external edit)