Placeable Object

Placeable objects add depth to the NWN module and have a variety of events available for scripting. They can contain items, act as triggers, be locked and/or trapped among other things. OBJECT_SELF refers to the placeable object that the event is firing for, not the creature or other object that caused the event to fire. Placeable objects are capable of performing some actions (such as ActionPlayAnimation() with reference to ANIMATION_PLACEABLE_* constants), telling them to do things that are inheritently impossible often causes problems (i.e. ActionLockObject(), ActionUnlockObject(), ActionEquipItem(), ActionPickUpItem()). Not all placeable objects open/close or activate/deactivate.



Events

OnClose

OnDamaged

OnDeath

OnDisturbed

OnHeartbeat

OnLock

OnOpen

OnPhysicalAttacked

OnSpellCastAt

OnUnlock

OnUsed

OnUserDefined

See Also

Objects with Events