GetScriptVersionRelease - 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.

Gets the current script version of F4SE's scripts. This can be used to detect a script/runtime version mismatch.

Syntax[edit | edit source]

int Function GetScriptVersionRelease() Global

Parameters[edit | edit source]

None

Return Value[edit | edit source]

The current script version of F4SE's scripts.

Examples[edit | edit source]

int iScript = F4SE.GetScriptVersionRelease()
Debug.Notification("F4SE script version: " + iScript)
If (F4SE.GetScriptVersionRelease() > 6)
    Debug.Notification("We support your installation of F4SE!")
EndIf

Notes[edit | edit source]

None

See Also[edit | edit source]