GetVersion - SKSE

From the CreationKit Wiki
Revision as of 15:59, 19 August 2012 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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