Difference between revisions of "ModModelPath"
Jump to navigation
Jump to search
imported>XavierErnandez |
imported>Qazaaq m (Reverted edits by XavierErnandez (Talk); changed back to last version by WereWolf) |
||
Line 9: | Line 9: | ||
* The toReplaceAndReplaceWith string has the following format: "toReplace|replaceWith". | * The toReplaceAndReplaceWith string has the following format: "toReplace|replaceWith". | ||
* We will do a case insensitve search for the toReplace portion and if found will replace it with the replaceWith portion. | * We will do a case insensitve search for the toReplace portion and if found will replace it with the replaceWith portion. | ||
* The | character is used to separate the portions of the string. | * The | character is used to separate the portions of the string. | ||
* If there is nothing before the | character, the replaceWith string is prepended to the model path. | * If there is nothing before the | character, the replaceWith string is prepended to the model path. |
Latest revision as of 07:42, 8 July 2010
A command for Oblivion Script Extender
Syntax:
(nothing) reference.ModModelPath toReplaceAndReplaceWith:string toObject:ref
Modifies the model path of the calling reference or passed objectID.
Notes[edit | edit source]
- The toReplaceAndReplaceWith string has the following format: "toReplace|replaceWith".
- We will do a case insensitve search for the toReplace portion and if found will replace it with the replaceWith portion.
- The | character is used to separate the portions of the string.
- If there is nothing before the | character, the replaceWith string is prepended to the model path.