About this mod
Expands the capabilities of the Help console function and fixes the "Unknown type" error for GetGameSetting/GetGS.
- Requirements
- Permissions and credits
Expands the capabilities of the Help console function and fixes the "Unknown type" error for GetGameSetting/GetGS.
GetGameSetting Bool Type fix:
Fixes a vanilla bug that causes the GetGameSetting/GetGS command to return "Unknown type" when querying the value of a Game Setting of type Bool.
Better Help Function:
Comparison:
Vanilla sytax: Help <match string> <filter> <form type>
New sytax: Help <match string> <filter> <form/data type> <source plugin>
Comes with the following improvements:
1) match string can now be any Name and FormID, not only EditorID (e.g. Help jewel to find MQ103 "Jewel of the Commonwealth")
2) filter = 3 now appends the FormIDs of globals (e.g. Help GameDays 3 would also show the FormID of GameDays)
3) filter = 2 is no longer no-op (i.e. the match string now supports INI, INI Pref and Game Settings)
4) optional data type filter for INI, INI Pref and Game Settings (e.g. Help light 2 bool to find any "light" setting of type Bool)
5) support for a special match string "..." that can be used to ignore the match string paramater (i.e. to list all forms, globals, etc.)
6) implements an optional fourth parameter <source plugin> for additional filtering (e.g. Help "..." 3 DLCCoast to list all globals in Far Harbor)
7) the results are now in alphabetical order
Examples:
Help somename 4 qust --> list all quest forms whose EditorIDs or Name contain the text "somename"
Help somename 4 qust dlccoast --> list all quest forms whose EditorIDs or Name contain the text "somename" and are defined in DLCCoast.esm (Far Harbor)
Help somename 4 qust "dlccoast.esm" --> same as the above
Help "..." 4 qust dlccoast --> list all quest forms defined in DLCCoast.esm
Help "..." 4 qust "dlccoast.esm" --> same as the above
Help "..." 4 dlccoast --> list all forms defined in DLCCoast.esm
Help "..." 0 dlccoast --> list all possible results and all forms defined in DLCCoast.esm
Help 54ba6 --> show the form whose FormID is 54BA6 (it's the WorkshopItemKeyword)
Help somename 3 --> list all Global Variables whose EditorIDs contain the text "somename"
Help somename 3 dlccoast --> list all Global Variables whose EditorIDs contain the text "somename" and are defined in DLCCoast.esm
Help somename 2 --> list all vanilla Ini, Ini Pref and Game Settings whose names contain "somename"
Help somename 2 bool --> list all vanilla boolean Ini, Ini Pref and Game Settings whose names contain "somename" (valid types: bool/boolean, float, int/uint, char/string/uchar, rgb/rgba/argb)
Settings:
..Data\F4SE\Plugins\BetterHelpFunction.ini.
GetGameSetting Bool Type fix and Better Help Function can be toggled separately if needed. (Description for each setting is in the INI).
Requirements:
F4SE
Address Library for F4SE Plugins