Difference between revisions of "GetScriptVersionRelease - F4SE"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(added required f4se version)
imported>Qazaaq
(added required f4se version)
 
Line 1: Line 1:
'''F4SE Member of:''' [[F4SE Script]]
'''F4SE Member of:''' [[F4SE Script]]
{{Template:Papyrus:RequiredF4SE|version=0.2.0}}


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

Latest revision as of 14:07, 21 January 2018

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]