Background for Skyrim SE
Member of the DbMiscFunctions script
stringfunctionConvertIntToHex(inti, intminDigits=8)Global

Description

Documentation Comment

requires skse. Convert int to hex string.
if result string length is less than minDigits,
adds 0's to the start for positive numbers, or f's to the start for negative numbers.
default is 8 (for form IDs)


Caveats


Parameters

inti

intminDigits=8


Examples

Auto-Generated Example

int myInt__i
int myInt__minDigits

string returnedValue = DbMiscFunctions.ConvertIntToHex(myInt__i, myInt__minDigits)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.