Long Integer

From the Oblivion ConstructionSet Wiki
Revision as of 11:18, 24 May 2006 by imported>JOG ("longs" in quest-scripts are also stored as floats...)
Jump to navigation Jump to search

Long is an integer format that uses 32 bit for data.

The highest bit is the sign, so the variable ranges from -2^31 (-2147483648) to 2^31-1 (2147483647)

There are no restrictions when using a long as a local variable within Object scripts, but longs inside Quest scripts as well as global variables, are internally stored as a float, and there might be a precission issue with very large values.