OBJECT_TYPE_* Constant Group

Used to categorize types of objects.



Constants

ConstantValueDescription
OBJECT_TYPE_ALL32767
Specifies all objects. Used for unrestricted searches. Strangely, OBJECT_TYPE_ALL and OBJECT_TYPE_INVALID equal the same value.
OBJECT_TYPE_AREA_OF_EFFECT16
Specifies the object is an area of effect (AOE).
OBJECT_TYPE_CREATURE1
Specifies the object is a creature (PC, animal, monster etc).
OBJECT_TYPE_DOOR8
Specifies the object is a door.
OBJECT_TYPE_ENCOUNTER256
Should specify an object which is an encounter, although no reference to this constant appears within NWScript other than its declaration.
OBJECT_TYPE_INVALID32767
Specifies the object is invalid. Strangely, OBJECT_TYPE_INVALID and OBJECT_TYPE_ALL equal the same value. OBJECT_TYPE_INVALID has an integer value of 32,767.
OBJECT_TYPE_ITEM2
Specifies the object is an item.
OBJECT_TYPE_PLACEABLE64
Specifies the object is a placeable.
OBJECT_TYPE_STORE128
Specifies the object is a store.
OBJECT_TYPE_TRIGGER4
Specifies the object is a trigger.
OBJECT_TYPE_WAYPOINT32
Specifies the object is a waypoint.

See Also

functions: CreateObject | CreateObjectVoid | GetFirstInPersistentObject | GetFirstObjectInShape | GetNearestObject | GetNearestObjectToLocation | GetNextInPersistentObject | GetNextObjectInShape | GetObjectType | SpeakOneLinerConversation