Beta Documentation - Subject to change.

Gets the major and minor versions numbers for the Lua script system.

Syntax

Lua
function Engine.GetScriptVersion();

Returns

Type: number, number

Remarks

The version information is returns as a major and minor version number. This number is not tied to the client build number and is only updated when changes to the API are made. These changes may include the addition of new APIs, the removal, changes to the functionality, or bug fixes. A new version does not necessarily mean incompatibility.

See Also