Difference between revisions of "TES5Edit Scripting Functions"

Jump to navigation Jump to search
imported>DavidJCobb
(→‎Script User Interface: TButton and TCheckBox.)
imported>ThreeTen
Line 21: Line 21:
| scope="row" | <b>DataPath</b> || String || Provides the file path to Skyrim's data folder as a String ||  
| scope="row" | <b>DataPath</b> || String || Provides the file path to Skyrim's data folder as a String ||  
|- align="left" style="background-color: #EEEEEE"
|- align="left" style="background-color: #EEEEEE"
| scope="row" | <b>ScriptsPath</b> || String || Provides the file path to Tes5Edit's 'Edit Scripts' folder as a String ||
| scope="row" | <b>GamePath</b> || String || Provides the file path to Skyrim's data folder as a String ||  
|- align="left" style="background-color: #F8F8F8"
|- align="left" style="background-color: #F8F8F8"
| scope="row" | <b>FileCount</b> || Integer || Provides the number of loaded files in your current TES5Edit session || "Skyrim.Hardcoded.keep.this..." is considered a file and is reflected in this variable.
| scope="row" | <b>ScriptsPath</b> || String || Provides the file path to Tes5Edit's 'Edit Scripts' folder as a String. || If launching TES5Edit via a .tes5pas file, ScriptsPath will change to the directory where the .te5pas file is located. (therefore if your script has any .pas file it is grabbing functions from, they also need to be in the that same directory.)
|- align="left" style="background-color: #EEEEEE"
| scope="row" | <b>FileCount</b> || Integer || Provides the number of loaded files in your current TES5Edit session || "Skyrim.Hardcoded.keep.this..." (aka. Skyrim.exe) is considered a file and is reflected in this variable.
|- align="left" style="background-color: #F8F8F8"
| scope="row" | <b>wbAppName</b> || String || Returns 'TES5','TES4','FNV','FO3'||
|- align="left" style="background-color: #EEEEEE"
| scope="row" | <b>wbVersionNumber</b> || Integer || Returns xEdit version number.||
|}
|}


Anonymous user

Navigation menu