Difference between revisions of "User:DavidJCobb/Sandbox/TES5Edit Scripting Functions"

→‎IwbGroupRecord: added functions as listed in the source code and existing docs
imported>DavidJCobb
(→‎IwbContainer: added all functions)
imported>DavidJCobb
(→‎IwbGroupRecord: added functions as listed in the source code and existing docs)
Line 289: Line 289:
! scope="col" style="background-color: #DDDDDD" | Arguments
! scope="col" style="background-color: #DDDDDD" | Arguments
! scope="col" style="background-color: #DDDDDD" | Description
! scope="col" style="background-color: #DDDDDD" | Description
{{TES5Edit function row|even
  |ChildrenOf|IwbMainRecord|aeGroup: IwbGroupRecord
  |If ''aeGroup'' is a child group, this function returns the main record that it is associated with. For example, a [[Topic|Dialogue Topic]] (DIAL) is followed by a group (GRUP) that contains its [[Topic Info|Infos]] (INFO); and passing that GRUP to this function would retrieve the DIAL. [[Cell]]s (CELL) and [[Worldspace]]s (WRLD) have their contents set up similarly to Dialogue Topics, so this function will work with them as well.}}
{{TES5Edit function row|even
  |FindChildGroup|IwbGroupRecord|aeGroup: IwbGroupRecord;<br/>aiType: integer;<br/> aeMainRecord: IwbMainRecord;<br/>
  |Unknown.}}
{{TES5Edit function row|even
  |GroupLabel|cardinal|aeGroup: IwbGroupRecord
  |Unknown.}}
{{TES5Edit function row|even
  |GroupType|integer|aeGroup: IwbGroupRecord
  |Unknown.}}
{{TES5Edit function row|even
  |MainRecordByEditorID|IwbMainRecord|aeGroup: IwbGroupRecord;<br/> asEditorID: string
  |Searches ''aeGroup'' for a main record whose editor ID is ''asEditorID'' and returns the matching record or ''Nil''. This is not a performant function.}}
|}
|}


Anonymous user