Difference between revisions of "GetInstalledLightPlugins - Game"

Line 25: Line 25:
== Examples ==
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
; get all loaded light plugins
; get array of installed light plugins
Game:PluginInfo[] Plugins = Game.GetInstalledLightPlugins()
int i = 0
 
while ( i < Plugins.Length )
Debug.Trace("Light Plugin: " + Plugins[i].name + " at index: " + Plugins[i].index + " is by " + Plugins[i].author)
Debug.Trace("description : " + Plugins[i].description)
i += 1
endwhile


Game:PluginInfo[] installedLightPlugins = Game.GetInstalledLightPlugins()


; Note:
; Note:
12

edits