Mod:Creation Kit/GetVersion - F4SE

F4SE Member of: Mod:Creation Kit/F4SE Script

Returns the major version of F4SE which is the first number of the version scheme.

Syntax
int Function GetVersion Global Native

Parameters
None

Return Value
The major (0.0.0.0) release index of F4SE.

Examples
int iMajor = F4SE.GetVersion Debug.Notification("F4SE major version: " + iMajor)

If (F4SE.GetVersion < 1) Debug.Notification("Your F4SE is out of date!") EndIf