GLOB

From OpenMW Wiki
Revision as of 10:59, 28 February 2013 by Ezzetabi (talk | contribs) (Adds a note about short variables.)
Jump to navigation Jump to search

Global Variable

NAME = variable length, string. Global identifier.
FNAM = 1 byte, char. Type of global.
      -- 's' = short,
      -- 'l' = integer,
      -- 'f' = float.
FLTV = 4 bytes, type depends on FNAM value.
      -- To correctly read shorts, read the FLTV values as an 4-bytes
      -- integer; if the value is in the short (2-bytes integer) range
      -- keep it. Otherwise the value is zero.

Go back to main esx page.