This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "Globals"

Jump to navigation Jump to search
250 bytes removed ,  14:14, 15 June 2006
(Sigh...) Stating the obvious, but in a professional way... Guys, Please...
imported>Jduvall
imported>JOG
((Sigh...) Stating the obvious, but in a professional way... Guys, Please...)
Line 8: Line 8:
*'''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 [[Variable_types:_floating_point|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)
*'''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 [[Variable_types:_floating_point|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. This affects the variable only when the plugin was just installed. After that the value is stored in the savegame.


==Note==
The value of a Global is stored in the save game. So you can not change the default value (by using the Globals form in the editor) of an already existing Global in a plugin and expect it to change in a player's saved game unless you also script this with a "set myGlobal to whatever" line in a script. --[[User:Jduvall|Jduvall]] 13:39, 15 June 2006 (EDT)


==See also==
==See also==
Anonymous user

Navigation menu