TTW GetPlugins

From GECK
Jump to: navigation, search


A function added by the TTW Plugin.

Description

Returns a multidimensional array listing the Mod Name, Mod Version, and Mod Descripion.

Syntax

[help]
(pluginList:array) TTW_GetPlugins 

Example

let aLoadedMods := TTW_GetPlugins
let iNumMods := ar_Size aLoadedMods
let iModIndex := 0
while iModIndex < iNumMods
  let sModName := aLoadedMods[iModIndex][0]
  let fModVersion := aLoadedMods[iModIndex][1]
  let sModDescription := aLoadedMods[iModIndex][2]
  PrintC "%g:  %z  %.3f  %z" iModIndex sModName fModVersion sModDescription
  let iModIndex += 1
loop

See Also