Difference between revisions of "IsModLoaded"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-'''.*'''\r\n +))
imported>Odessa
(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 = int
  |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

< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

Returns the whether the specified mod is loaded.

Syntax

[help]
(bool) IsModLoaded modName:string

Example

if IsModLoaded "SomeKnownConflictingMod.esp"
    ; do some workaround
endif

See Also