Difference between revisions of "GetVersionMinor - F4SE"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
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]]
{{Template:Papyrus:RequiredF4SE|version=0.2.0}}


Returns the minor version of F4SE which is the second number of the version scheme.
Returns the minor version of F4SE which is the second number of the version scheme.
Line 15: Line 13:


== Return Value ==
== Return Value ==
The minor version of F4SE.
The minor (0.'''0'''.0.0) release index of F4SE.


== Examples ==
== Examples ==
Line 21: Line 19:
int iMinor = F4SE.GetVersionMinor()
int iMinor = F4SE.GetVersionMinor()
Debug.Notification("F4SE minor version: " + iMinor)
Debug.Notification("F4SE minor version: " + iMinor)
</source>
<source lang="papyrus">
If (F4SE.GetVersionMinor() < 9)
    Debug.Notification("Your F4SE is out of date!")
EndIf
</source>
</source>


Line 33: Line 37:
*[[GetScriptVersionRelease - F4SE]]
*[[GetScriptVersionRelease - F4SE]]
*[[GetPluginVersion - F4SE]]
*[[GetPluginVersion - F4SE]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:F4SE]]
[[Category:Non-Delayed Native Functions]]

Latest revision as of 13:56, 21 January 2018

F4SE Member of: F4SE Script
Requires F4SE version 0.2.0 or higher.

Returns the minor version of F4SE which is the second number of the version scheme.

Syntax[edit | edit source]

int Function GetVersionMinor() Global Native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

The minor (0.0.0.0) release index of F4SE.

Examples[edit | edit source]

int iMinor = F4SE.GetVersionMinor()
Debug.Notification("F4SE minor version: " + iMinor)
If (F4SE.GetVersionMinor() < 9)
    Debug.Notification("Your F4SE is out of date!")
EndIf

Notes[edit | edit source]

  • The version scheme follows Major.Minor.Beta.Release (9.9.9.9)

See Also[edit | edit source]