Difference between revisions of "GetScriptVersionRelease - F4SE"

Jump to navigation Jump to search
added required f4se version
imported>Qazaaq
(Added F4SE member)
 
imported>Qazaaq
(added required f4se version)
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:F4SE]]
'''F4SE Member of:''' [[F4SE Script]]
'''F4SE Member of:''' [[F4SE Script]]


Returns the release index of this script file. 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.


== Syntax ==
== Syntax ==
Line 15: Line 12:


== Return Value ==
== Return Value ==
The release index of this script file.
The current script version of F4SE's scripts.


== Examples ==
== Examples ==
Line 21: Line 18:
int iScript = F4SE.GetScriptVersionRelease()
int iScript = F4SE.GetScriptVersionRelease()
Debug.Notification("F4SE script version: " + iScript)
Debug.Notification("F4SE script version: " + iScript)
</source>
<source lang="papyrus">
If (F4SE.GetScriptVersionRelease() > 6)
    Debug.Notification("We support your installation of F4SE!")
EndIf
</source>
</source>


== Notes ==
== Notes ==
None


== See Also ==
== See Also ==
Line 32: Line 36:
*[[GetVersionRelease - F4SE]]
*[[GetVersionRelease - F4SE]]
*[[GetPluginVersion - F4SE]]
*[[GetPluginVersion - F4SE]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:F4SE]]
Anonymous user

Navigation menu