ModIconPath

From the Oblivion ConstructionSet Wiki
Revision as of 06:36, 15 September 2007 by imported>WereWolf (New page: A command for Oblivion Script Extender '''Syntax:''' (nothing) ''reference.''ModIconPath toReplaceAndReplaceWith:string ''toObject:ref'' Modifies ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(nothing) reference.ModIconPath toReplaceAndReplaceWith:string toObject:ref

Modifies the icon 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 icon path.

See Also[edit | edit source]