GetNVSEBeta

From the Fallout3 GECK Wiki
Revision as of 05:51, 6 August 2014 by imported>Odessa (note on 4.2.4 bug)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns the beta number of the installed version of NVSE. A non beta version will return 0. Added by NVSE V1.1.

Syntax

[help]
(int) GetNVSEBeta

Example

if GetNVSEBeta != 0 && GetNVSEBeta < 3
   MessageBoxEx "This mod requires beta 3 or later of NVSE 4, please upgrade"
endif

Notes

  • The stable NVSE release, 4.2b4 incorrectly returns '3' to this function.

See Also