Morrowind Mod:Mod File Format/GLOB

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

GLOB records contain information on Global Variables. Global variables are used by scripts. Data in a global variable is required by multiple scripts.

C Field Type/Size Info
+ NAME zstring Name of the global variable.
+ FNAM char Field type (s = short, l = long, f = float)
+ FLTV float32 Value
  • All globals are stored as floats, regardless of their specified type. This creates issues with rounding and a loss of precision when using very large positive or negative long values. Be sure to convert the value to the specified type before using it. Integer values like zero are often stored as very small float values, rather than a true zero value.