Talk:OnClose event
From NWNWiki
Brick Thrower wrote: "a placeable need not have an inventory to be closeable. c.f. container, door"
Huh? How does the OnClose event fire for a placable that isn't a door or container? You sure? -- Alec Usticke 11:08, 1 January 2006 (PST)
I should have added placeable and not removed container. The OnClose event will fire for a door. The OnClose event will also fire for a placeable that has an inventory. // Brick Thrower 13:35, 1 January 2006 (PST)
Technically, there is no object called container. There is an object called a placeable. If the placeable has an inventory, then it is commonly referred to as a container. Under the toolset there are sub-branches under the placeable tree called "containers and switches", but those can be placeables with the inventory disabled, and therefore they are not a container. // Brick Thrower 13:40, 1 January 2006 (PST)
Thanks for clarifying. -- Alec Usticke 13:42, 1 January 2006 (PST)