Difference between revisions of "GetScriptVersionRelease - F4SE"
Jump to navigation
Jump to search
imported>Qazaaq (Added F4SE member) |
imported>Qazaaq (added required f4se version) |
||
Line 1: | Line 1: | ||
'''F4SE Member of:''' [[F4SE Script]] | '''F4SE Member of:''' [[F4SE Script]] | ||
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 | 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]] |
Revision as of 14:06, 21 January 2018
F4SE Member of: F4SE Script
Gets the current script version of F4SE's scripts. This can be used to detect a script/runtime version mismatch.
Syntax
int Function GetScriptVersionRelease() Global
Parameters
None
Return Value
The current script version of F4SE's scripts.
Examples
int iScript = F4SE.GetScriptVersionRelease()
Debug.Notification("F4SE script version: " + iScript)
If (F4SE.GetScriptVersionRelease() > 6)
Debug.Notification("We support your installation of F4SE!")
EndIf
Notes
None