Function: IsModEnabled

Synopsis

Gets whether or not a mod, mod hack or framework is enabled.

Syntax

IsModEnabled( <mod_name> )
  • mod_name: The name of the mod to check for. This should be the mod's InternalName (if it has one, which it should).

Examples

if IsModEnabled("ReplayableBonusMissions") then
	-- Do stuff differently if the Replayable Bonus Missions Mod Hack is enabled.
end

Notes

No additional notes.

History

Unknown.


Revision #2
Created Mon, Oct 1, 2018 12:53 AM by Loren Goodwin
Updated Thu, Oct 4, 2018 7:32 PM by Loren Goodwin