Difference between revisions of "Game Script"
Add missing F4SE global functions, and "F4SE" to section header
imported>Qazaaq (Added F4SE member) |
imported>ShadeMe (Add missing F4SE global functions, and "F4SE" to section header) |
||
Line 242: | Line 242: | ||
**Emits a warning to the papyrus log and the game warning system. | **Emits a warning to the papyrus log and the game warning system. | ||
== Global Functions == | == F4SE Global Functions == | ||
*ObjectReference Function [[GetCurrentConsoleRef - Game|GetCurrentConsoleRef]]() | *ObjectReference Function [[GetCurrentConsoleRef - Game|GetCurrentConsoleRef]]() | ||
**Returns the current console reference. | **Returns the current console reference. | ||
*PluginInfo[] Function [[GetInstalledPlugins - Game|GetInstalledPlugins]]() | |||
**Returns an array of currently installed esm and esp files. | |||
*PluginInfo[] Function [[GetInstalledLightPlugins - Game|GetInstalledLightPlugins]]() | |||
**Returns an array of currently installed esl files. | |||
*string[] Function [[GetPluginDependencies - Game|GetPluginDependencies]](string asPluginName) | |||
**Returns an array of plugin dependencies for the specified plugin. | |||
*Function [[SetGameSettingBool - Game|SetGameSettingBool]](string asSetting, bool abValue) | |||
**Set the value of a boolean GameSetting. | |||
*Function [[SetGameSettingInt - Game|SetGameSettingInt]](string asSetting, int aiValue) | |||
**Set the value of a int GameSetting. | |||
*Function [[SetGameSettingFloat - Game|SetGameSettingFloat]](string asSetting, float afValue) | |||
**Set the value of a float GameSetting. | |||
*Function [[SetGameSettingString - Game|SetGameSettingString]](string asSetting, string asString) | |||
**Set the value of a string GameSetting. | |||
== Member Functions == | == Member Functions == | ||
None | |||
== F4SE Member Functions == | |||
None | None | ||
== Events == | == Events == | ||
None | None | ||
== See Also == | |||
[[Data_File|Data Files]] |