Difference between revisions of "TES5Edit Scripting Functions"
Jump to navigation
Jump to search
m
no edit summary
imported>Robboten m |
imported>Robboten m |
||
Line 215: | Line 215: | ||
{{TES5Edit function row|odd | {{TES5Edit function row|odd | ||
|ReportRequiredMasters||aeElement: IwbElement;<br/> akListOut: TStrings;<br/> akUnknown1: boolean;<br/> akUnknown2: boolean | |ReportRequiredMasters||aeElement: IwbElement;<br/> akListOut: TStrings;<br/> akUnknown1: boolean;<br/> akUnknown2: boolean | ||
|Checks which master files ''aeElement'' depends on, and adds their filenames to ''akListOut''. | |Checks which master files ''aeElement'' depends on, and adds their filenames to ''akListOut''. First boolean is Recursive to go over children elements if it is a container, second is Initial which is false by default.}} | ||
{{TES5Edit function row|even | {{TES5Edit function row|even | ||
|SetEditValue|string|aeElement: IwbElement;<br/> asValue: string | |SetEditValue|string|aeElement: IwbElement;<br/> asValue: string | ||
Line 260: | Line 260: | ||
{{TES5Edit function row|even | {{TES5Edit function row|even | ||
|AdditionalElementCount|integer|aeContainer: IwbContainer | |AdditionalElementCount|integer|aeContainer: IwbContainer | ||
| | |Returns the number of "fake" elements xEdit adds before the "Record Header". For references it shows "Cell" for example. This getter accesses an internal function used internally for imposing some order on the sub-elements; it checks whether this element "counts," and if so, how many times. Seems to return 1 or 2 for (main?) records, and 0 for record fields (sub-records).}} | ||
{{TES5Edit function row|odd | {{TES5Edit function row|odd | ||
|ContainerStates|byte|aeContainer: IwbContainer | |ContainerStates|byte|aeContainer: IwbContainer |