Mod:Creation Kit/IsPluginInstalled - Game

Member of: Mod:Creation Kit/Game Script

Returns whether the specified plugin is installed and activated or not. Note that it needs the extension as well (esp or esm).

Syntax
bool Function IsPluginInstalled(string asName) native global

Parameters

 * asName - The plugin to check for, including extension

Return Value
True if the specified plugin is installed and activated.

Examples
if (Game.IsPluginInstalled("DLC1.esm")) Debug.Trace("The player has installed DLC1 - let's do some fun stuff!") endIf