GetVersion - SKSE

From the CreationKit Wiki
Revision as of 16:02, 19 August 2012 by imported>JohnB (→‎See Also)
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