GetModDependencyCount - Game

From Creation Kit
Jump to: navigation, search

SKSE Member of: Game Script

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

Syntax

int Function GetModDependencyCount(int modIndex) native global

Parameter

  • modIndex = index of the mod.

Return Value

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

Examples

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

See Also