Difference between revisions of "GetVersionMinor - SKSE"
Jump to navigation
Jump to search
m
Linked GetVersionRelease/Prefixed Int vars with 'i'/Added second example with complete version number as a float/Added Minimum SKSE version
imported>JohnB (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' SKSE Script Returns the minor version of SKSE. (This function requires SKSE) == Synt...") |
imported>JustinOther m (Linked GetVersionRelease/Prefixed Int vars with 'i'/Added second example with complete version number as a float/Added Minimum SKSE version) |
||
Line 5: | Line 5: | ||
Returns the minor version of SKSE. (This function requires SKSE) | Returns the minor version of SKSE. (This function requires SKSE) | ||
{{SKSEFunction|1.05.02}} | |||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Int Function GetVersionMinor() Global Native | |||
</source> | </source> | ||
Line 18: | Line 20: | ||
== Examples == | == Examples == | ||
*As used with SKSE version 1.5.11 rel 27 (SKSE minor version: 5) | |||
<source lang="papyrus">Int iMinor = SKSE.GetVersion() | |||
Debug.Notification("SKSE minor version: " + iMinor)</source> | |||
Debug.Notification("SKSE minor version: " + | *Obtain complete version number as a float. | ||
; SKSE | <source lang="papyrus">Float fSKSE = SKSE.GetVersion() + SKSE.GetVersionMinor() * 0.01 + SKSE.GetVersionBeta() * 0.0001 | ||
</source> | Debug.Trace("SKSE Version: " + fSKSE) ; Reads "SKSE Version: 1.0511"</source> | ||
== Notes == | == Notes == | ||
Line 32: | Line 34: | ||
*[[GetVersion - SKSE]] | *[[GetVersion - SKSE]] | ||
*[[GetVersionBeta - SKSE]] | *[[GetVersionBeta - SKSE]] | ||
*[[GetVersionRelease - SKSE]] |