Open main menu

UESPWiki β

Morrowind Mod:XFileWriteShort

< Mod / Morrowind: Morrowind Mod: MWSE

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.

SyntaxEdit

xFileWriteShort filename (string), value (short)

ExampleEdit

xFileWriteShort "filename" 333

See AlsoEdit