Difference between revisions of "TES5Edit Scripting Functions"
Jump to navigation
Jump to search
→TES5Edit Scripting Functions
imported>Egocarib m (sorted the table again :)) |
imported>ThreeTen |
||
Line 215: | Line 215: | ||
| scope="row" | <b>Name</b> || || element : IwbElement || Obtains the name of the element | | scope="row" | <b>Name</b> || || element : IwbElement || Obtains the name of the element | ||
|- align="left" style="background-color: #F8F8F8" | |- align="left" style="background-color: #F8F8F8" | ||
| scope="row" | <b>NifTextureList</b> || || tbsOpenResource : TBytesStream, slTextures : TStrings || Used to grab the file names of all related textures belonging to a nif file and adds it to slTextures. (Ex. NifTextureList(ResourceOpendata( | | scope="row" | <b>NifTextureList</b> || || tbsOpenResource : TBytesStream, slTextures : TStrings || Used to grab the file names of all related textures belonging to a nif file and adds it to slTextures. (Ex. NifTextureList(ResourceOpendata(DataPath,'meshes\effects\plants\floradeathbell01.nif'), slTextures); will try and find floradeathbell01.nif as a loose file inside of your data folder (or winning loose file for Mod Organizer users) and add all related textures to slTextures. slTextures is formatted so it can be used as aFileName for any other Resource-Related Tes5Edit functions. | ||
|- align="left" style="background-color: #EEEEEE" | |- align="left" style="background-color: #EEEEEE" | ||
| scope="row" | <b>ObjectToElement</b> || IwbElement || slObjects : TObject || IInterface's added to TStringLists via sl.AddObject('string', iielement) will need to be changed back with this function. (ex. iinterfaceVar := ObjectToElement(sl.Objects[i])) | | scope="row" | <b>ObjectToElement</b> || IwbElement || slObjects : TObject || IInterface's added to TStringLists via sl.AddObject('string', iielement) will need to be changed back with this function. (ex. iinterfaceVar := ObjectToElement(sl.Objects[i])) |