Difference between revisions of "IsModLoaded"
From GECK
m (Robot: Automated text replacement (-'''.*'''\r\n +)) |
(added example + see also) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = FOSE1 | |origin = FOSE1 | ||
− | |summary = Returns the whether the specified mod is loaded | + | |summary = Returns the whether the specified mod is loaded. |
|name = IsModLoaded | |name = IsModLoaded | ||
− | |returnType = | + | |returnType = bool |
|arguments = | |arguments = | ||
{{FunctionArgument | {{FunctionArgument | ||
Line 10: | Line 10: | ||
}} | }} | ||
}} | }} | ||
+ | ==Example== | ||
+ | <pre> | ||
+ | if IsModLoaded "SomeKnownConflictingMod.esp" | ||
+ | ; do some workaround | ||
+ | endif | ||
+ | </pre> | ||
+ | ==See Also== | ||
+ | *[[GetModIndex]] | ||
+ | *[[GetNumLoadedMods]] | ||
[[Category:Functions_(FOSE)]] | [[Category:Functions_(FOSE)]] |
Latest revision as of 10:43, 16 July 2014
A function added by the Fallout Script Extender.
Contents
Description
Returns the whether the specified mod is loaded.
Syntax
(bool) IsModLoaded modName:string
Example
if IsModLoaded "SomeKnownConflictingMod.esp" ; do some workaround endif