InsertXMLTemplate

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command added by MenuQue.

Syntax:

(returnID:int) InsertXMLTemplate componentAndTemplate:formatString menuType:int

Inserts a template as defined in the xml into the component. The string consists of three parts, each seperated by a pipe character. First is the target component, then the template's name and lastly the name for the newly created element.

Notes[edit | edit source]

  • If calling from the console, replace the pipe character with the '@' character.
  • The last of the three parts can be omitted, in which case the element will keep whatever name it has in the xml.

See also[edit | edit source]

InsertXML