GetScriptVersionRelease - F4SE

Revision as of 15:07, 21 January 2018 by imported>Qazaaq (added required f4se version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

SyntaxEdit

int Function GetScriptVersionRelease() Global

ParametersEdit

None

Return ValueEdit

The current script version of F4SE's scripts.

ExamplesEdit

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

NotesEdit

None

See AlsoEdit