Difference between revisions of "IsModLoaded"
Jump to navigation
Jump to search
imported>Geckbot (Automated import of articles) |
imported>Odessa (added example + see also) |
||
(One intermediate revision by one other user not shown) | |||
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 11: | 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
< [[::Category:Functions|Category:Functions]]
A function added by the Fallout Script Extender.
Description
Returns the whether the specified mod is loaded.
Syntax
(bool) IsModLoaded modName:string
Example
if IsModLoaded "SomeKnownConflictingMod.esp" ; do some workaround endif