Globals Constant Group

Global, non-grouped constant values.



Constants

ConstantValueDescription
FALSE0
Boolean false. Zero is always treated as false. False should remain defined as the numerical value 0 so problems with bitwise AND ("&") and bitwise OR ("|") do not occur.
NUM_INVENTORY_SLOTS18
Defines the maximum number of inventory slots as 18.
OBJECT_INVALIDUNKNOWN
Invalid object reference.
OBJECT_SELFUNKNOWN
Not truely a constant. Refers to the object that generates an event within an event handler.
PI3.141592
Used when determining radius, area, or other mathematical operations with a circle (3.141592).
PORTRAIT_INVALID65535
UNKNOWN
TRUE1
Boolean true. Any non-zero number (even negatives) is true. True should remain defined as the numerical value 1 so problems with bitwise AND ("&") and bitwise OR ("|") do not occur.
USE_CREATURE_LEVEL0
UNKNOWN
VFX_NONE-1
UNKNOWN

See Also