Globals Constant Group
Global, non-grouped constant values.
Constants
| Constant | Description |
|---|
| FALSE | | 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 | | Defines the maximum number of inventory slots as 18. |
|
| OBJECT_INVALID | | Invalid object reference. |
|
| OBJECT_SELF | | Not truely a constant. Refers to the object that generates an event within an event handler. |
|
| PI | | Used when determining radius, area, or other mathematical operations with a circle (3.141592). |
|
| TRUE | | 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. |
|
See Also
Send comments on this topic.