Globals Constant Group
Global, nongrouped constant values.
Constants
Constant  Value  Description 

FALSE  0  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_SLOTS  18  Defines the maximum number of inventory slots as 18. 

OBJECT_INVALID  UNKNOWN  Invalid object reference. 

OBJECT_SELF  UNKNOWN  Not truely a constant. Refers to the object that generates an event within an event handler. 

PI  3.141592  Used when determining radius, area, or other mathematical operations with a circle (3.141592). 

PORTRAIT_INVALID  65535  
TRUE  1  Boolean true. Any nonzero 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_LEVEL  0  
VFX_NONE  1  
See Also