GetModDependencyCount - Game

Revision as of 05:53, 27 February 2013 by imported>Wafflesalot (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Game Script Returns the count of mods that the specified mod depends upon. (This funct...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SKSE Member of: Game Script

Returns the count of mods that the specified mod depends upon. (This function requires SKSE)

SyntaxEdit

int Function GetModDependencyCount(int modIndex) native global

ParameterEdit

  • modIndex = index of the mod.

Return ValueEdit

Returns the count of mods that the indexed mod depends upon.

ExamplesEdit

Int DependencyCount

Function ModDependencyCount(int Index)
	DependencyCount = Game.GetModDependencyCount(Index)
	Debug.Trace("Mod at " + Index + " has " + DependancyCount + " dependencies")
EndFunction

See AlsoEdit