GetVersionRelease - F4SE

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

F4SE Member of: F4SE Script
Requires F4SE version 0.2.0 or higher.

Returns the release index of F4SE which is the fourth number of the version scheme. This number is incremented every time F4SE is released outside of the development team.

Syntax[edit | edit source]

int Function GetVersionRelease() Global Native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

The release (0.0.0.0) index of F4SE.

Examples[edit | edit source]

int iRelease = F4SE.GetVersionRelease()
Debug.Notification("F4SE release version: " + iRelease)
If (F4SE.GetVersionRelease < 2)
    Debug.Notification("Your F4SE is out of date!")
EndIf

Notes[edit | edit source]

  • The version scheme follows Major.Minor.Beta.Release (9.9.9.9)

See Also[edit | edit source]