Short Integer

From the Oblivion ConstructionSet Wiki
Revision as of 17:02, 17 September 2006 by imported>DragoonWraith (global shorts are floats)
Jump to navigation Jump to search

Short is an integer format that uses 16 bit for data.

The highest bit is the sign, so the variable ranges from -2^15 (-32768) to 2^15-1 (32767)

If you declare a Global short, it will actually be a float, and so will not round off decimal values like a short normally does.