Difference between revisions of "GetModName - Game"

Jump to navigation Jump to search
1 byte added ,  01:03, 27 February 2013
m
Minor changes to grammar missed
imported>Wafflesalot
(Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Game Script Returns the name of the mod at the specified Index. (This function require...")
 
imported>Wafflesalot
m (Minor changes to grammar missed)
Line 28: Line 28:
NumberofMods -= 1
NumberofMods -= 1
Nameofmod = Game.GetModName(NumberofMods) ;Gets Name of Mod eg. Skyrim.esm, Update.esm, Hearthfire.esm, etc.
Nameofmod = Game.GetModName(NumberofMods) ;Gets Name of Mod eg. Skyrim.esm, Update.esm, Hearthfire.esm, etc.
NameofAuth = Game.GetModAuthor(NumberofMods) ; If a Author is specified then it will return a name if not will be blank
NameofAuth = Game.GetModAuthor(NumberofMods) ; If a Author is specified then it will return a name if not will be DEFAULT
Description = Game.GetModDescription(NumberofMods) ;If a Description is available then it will be shown otherwise will be blank
Description = Game.GetModDescription(NumberofMods) ;If a Description is available then it will be shown otherwise will be blank
Debug.Trace(NumberofMods + "th index contains " + NameofMod)
Debug.Trace(NumberofMods + "th index contains " + NameofMod)
Line 39: Line 39:


== Notes ==
== Notes ==
* This function, doesn't actually return the real name of the mod it returns the .esm or .esps in your load order. (eg. Skyrim.esm, Update.esm, Hearthfire.esm.)
* This function, doesn't actually return the real name of the mod it returns the .esm or .esp in your load order. (eg. Skyrim.esm, Update.esm, Hearthfire.esm.)


== See Also ==
== See Also ==
Anonymous user

Navigation menu