Morrowind Mod:XFileWriteShort

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

A function added by MWSE.

xFileWriteShort writes a (2 byte) SHORT value to the file at the current position and advances. The file is then truncated at the current position (just after the end of the new value), so you cannot use this to modify the values in the middle of an existing file.

Syntax[edit]

xFileWriteShort filename (string), value (short)

Example[edit]

xFileWriteShort "filename" 333

See Also[edit]

xFileRewind
xFileSeek
xFileReadText
xFileWriteText
xFileReadShort
xFileReadLong
xFileReadFloat
xFileReadString
xFileWriteLong
xFileWriteFloat
xFileWriteString