Difference between revisions of "GetVersion - SKSE"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>JohnB
(Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' SKSE Script Returns the major version of SKSE. (This function requires SKSE) == Synt...")
 
imported>JohnB
Line 30: Line 30:
== See Also ==
== See Also ==
*[[SKSE Script]]
*[[SKSE Script]]
*[[GetVersionMinor() - SKSE]]
*[[GetVersionMinor - SKSE]]
*[[GetVersionBeta() - SKSE]]
*[[GetVersionBeta - SKSE]]

Revision as of 16:02, 19 August 2012

SKSE Member of: SKSE Script

Returns the major version of SKSE. (This function requires SKSE)

Syntax

int Function GetVersion() global native

Parameters

None

Return Value

The major version of SKSE (first number).

Examples

; as used with SKSE version 1.5.11 rel 27
int vMajor = SKSE.GetVersion()
Debug.Notification("SKSE major version: " + vMajor)
; SKSE major version: 1

Notes

None

See Also