GetModDependencyCount - Game

From the CreationKit Wiki
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]