Difference between revisions of "TES5Edit Scripting Functions"
Jump to navigation
Jump to search
→TES5Edit Scripting Functions: forgot the workaround
imported>DavidJCobb (→TES5Edit Scripting Functions: WHY WASN'T THIS DOCUMENTED?! Why are random forum posts in 2013 a more valuable reference than the actual reference?!) |
imported>DavidJCobb (→TES5Edit Scripting Functions: forgot the workaround) |
||
Line 223: | Line 223: | ||
| scope="row" | <b>Path</b> || string || element : IwbElement || Returns the path of the specified element. | | scope="row" | <b>Path</b> || string || element : IwbElement || Returns the path of the specified element. | ||
|- align="left" style="background-color: #EEEEEE" | |- align="left" style="background-color: #EEEEEE" | ||
| scope="row" | <b>RecordByEditorID</b> || IwbMainRecord || file : IwbFile , editorid : string || This only works for MGEF and GMST records. | | scope="row" | <b>RecordByEditorID</b> || IwbMainRecord || file : IwbFile , editorid : string || This only works for MGEF and GMST records. For all other records, use something like ''MainRecordByEditorID(GroupBySignature(f, 'ECZN'), 'RandomEncounterZone1')'' | ||
|- align="left" style="background-color: #F8F8F8" | |- align="left" style="background-color: #F8F8F8" | ||
| scope="row" | <b>RecordByFormID</b> || IwbMainRecord || file : IwbFile , formid : integer , aAllowInjected : boolean || Will return the record with the specified FormID in the specified file, if it exists. Will ignore overrides. | | scope="row" | <b>RecordByFormID</b> || IwbMainRecord || file : IwbFile , formid : integer , aAllowInjected : boolean || Will return the record with the specified FormID in the specified file, if it exists. Will ignore overrides. |