GetVersionMinor - SKSE

Revision as of 22:23, 5 July 2017 by imported>XJDHDR (→‎Examples: Current example throws an "Input string was not in a correct format." error when compiling. This new example works fine.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SKSE Member of: SKSE Script

Returns the minor version of SKSE. (This function requires SKSE)

Minimum required SKSE Version: 1.05.02

SyntaxEdit

Int Function GetVersionMinor() Global Native

ParametersEdit

None

Return ValueEdit

The minor version of SKSE (second number).

ExamplesEdit

  • As used with SKSE version 1.7.3 rel 48 (SKSE minor version: 7)
Int iMinor = SKSE.GetVersion()
Debug.Notification("SKSE minor version: " + iMinor)
  • Obtain complete version number as an integer.
Int fSKSE = SKSE.GetVersion() * 10000 + SKSE.GetVersionMinor() * 100 + SKSE.GetVersionBeta()
Debug.Trace("SKSE Version: " + fSKSE) ; Reads "SKSE Version: 10703"

NotesEdit

None

See AlsoEdit