Background for Fallout 4
Member of the F4SE script
intfunctionGetVersion()NativeGlobal

Description

Wiki Description

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

Documentation Comment

get the major version of F4SE


Caveats

CK Wiki - Notes

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

Examples

int iMajor = F4SE.GetVersion()
Debug.Notification("F4SE major version: " + iMajor)
If (F4SE.GetVersion() < 1)
    Debug.Notification("Your F4SE is out of date!")
EndIf

Auto-Generated Example

int returnedValue = F4SE.GetVersion()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.