Difference between revisions of "Globals"
Jump to navigation
Jump to search
imported>JOG |
imported>JOG |
||
Line 2: | Line 2: | ||
*'''EditorID:''' The name of the variable. No spaces or special characters are allowed. | *'''EditorID:''' The name of the variable. No spaces or special characters are allowed. | ||
*'''Variable Type:''' Short and Long are actually the same thing. Both are integer formats. Float is a real number format. | |||
*'''Variable Type:''' Short and Long are actually the same thing. Both are integer formats. Float is a real number format. Internally all types of global variables are stored as 32-bit floats. The technical implementation of this variable-format causes inaccuracies at very high or low values. (e.g all numbers from 2000000000 to 2000000064 are stored as 2000000000) | |||
*'''Value:''' The default value for the global variable. | *'''Value:''' The default value for the global variable. | ||
Revision as of 07:14, 24 March 2006
A global variable is available for any script or condition to reference without being linked to a particular quest or object. You can create your own global variables
- EditorID: The name of the variable. No spaces or special characters are allowed.
- Variable Type: Short and Long are actually the same thing. Both are integer formats. Float is a real number format. Internally all types of global variables are stored as 32-bit floats. The technical implementation of this variable-format causes inaccuracies at very high or low values. (e.g all numbers from 2000000000 to 2000000064 are stored as 2000000000)
- Value: The default value for the global variable.