GetPluginVersion
Revision as of 12:03, 13 September 2014 by imported>Odessa (created)
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns the version number of the specified NVSE plugin, or -1 if the plugin is not loaded. Note that plugin names are set during registration and displayed in the file, nvse.log, it is not the file name. Added by NVSE 4.5.
Syntax
(float) GetPluginVersion PluginName:string
Example
if (GetPluginVersion "Extensions for NVSE") < 15 MessageBoxEx "You need to install version 15 of NX plugin" endif