Difference between revisions of "GetInstalledPlugins - Game"
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
; | ; get array of installed plugins that are not esl flagged. | ||
Game:PluginInfo[] Plugins = Game.GetInstalledPlugins() | |||
int i = 0 | |||
while ( i < Plugins.Length ) | |||
Debug.Trace("Plugin: " + Plugins[i].name + " at index: " + Plugins[i].index + " is by " + Plugins[i].author) | |||
Debug.Trace("description: " + Plugins[i].description) | |||
i += 1 | |||
endwhile | |||
</source> | </source> | ||
Revision as of 14:58, 29 March 2024
This article has been flagged as incomplete. |
Please help improve the wiki by learning how to contribute. |
F4SE Member of: Game Script
Requires F4SE version 0.3.1 or higher.
Placeholder Description.
Syntax
PluginInfo[] Function GetInstalledPlugins() Native Global
Parameters
- None
Return Value
Struct PluginInfo
int index
string name
string author
string description
EndStruct
Examples
; get array of installed plugins that are not esl flagged.
Game:PluginInfo[] Plugins = Game.GetInstalledPlugins()
int i = 0
while ( i < Plugins.Length )
Debug.Trace("Plugin: " + Plugins[i].name + " at index: " + Plugins[i].index + " is by " + Plugins[i].author)
Debug.Trace("description: " + Plugins[i].description)
i += 1
endwhile