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.

LCD AddIntToBuffer

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Logitech G15 LCD

Syntax:

LCD_AddIntToBuffer Value:long FieldSize:long ZeroPad:bool

Adds an integer to the text buffer. FieldSize determines the size, in characters, of the field that will be shown. If ZeroPad is 1, the value will be padded with leading zeros if it contains less characters than FieldSize.

Example[edit | edit source]

The following use of the function:

LCD_AddIntToBuffer 2 4 1

Would print "0002".