CreateString

From the Oblivion ConstructionSet Wiki
Revision as of 14:42, 26 February 2008 by imported>Speedo (New page: {{Beta}} A command for Pluggy. '''Syntax:''' (StringID:long) CreateString ''EspID:short Text:string Protected:short'' Creates a new string containing ''Text'' tag...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


A command for Pluggy.

Syntax:

(StringID:long) CreateString EspID:short Text:string Protected:short

Creates a new string containing Text tagged with the EspID, and returns the StringID of the new string.

  • If EspID is not specified or is -1, then the EspID is automatically associated to the calling mod.
  • If Protected is not 0, then the string will be write-protected from other mods, and only the associated mod will ever be able to modify the string. Setting Protected to 1 is recommended if you don’t want your string to be modified by another mod.
  • If the ESP file is not active upon reloading a savegame, all the associated strings are destroyed when/if the player saves.