GetModDependencyCount - Game

From the CreationKit Wiki
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)
Jump to navigation Jump to search

SKSE Member of: Game Script

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

Syntax[edit | edit source]

int Function GetModDependencyCount(int modIndex) native global

Parameter[edit | edit source]

  • modIndex = index of the mod.

Return Value[edit | edit source]

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

Examples[edit | edit source]

Int DependencyCount

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

See Also[edit | edit source]