- Found in:
- F4SE
Description
Wiki Description
Gets the version of any currently installed F4SE plugin.
Documentation Comment
get a plugins version number, -1 if the plugin is not loaded
Caveats
CK Wiki - Notes
None
Parameters
stringname
CK Wiki Description
The name of an F4SE plugin to query.
Examples
string sPluginName = "MyPlugin" const
int iPlugin = F4SE.GetPluginVersion(sPluginName)
Debug.Notification("F4SE plugin '" + sPluginName + "' version: " + iPlugin)If (F4SE.GetPluginVersion("MyPlugin") == -1)
Debug.Messagebox("MyPlugin is missing, please reinstall the mod and try again!")
EndIfAuto-Generated Example
string myString__name
int returnedValue = F4SE.GetPluginVersion(myString__name)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
