ToOBSE

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by Pluggy

Syntax:

(Text:OBSEstring) ToOBSE PluggyStringID:slong

Exports a Pluggy string to an OBSE string.

Alternate name: ToOBSEstring.


Notes

  • You must use Set instead of Let - i.e., "Set sOBSEvar to ToOBSE PluggyStringID".
  • This function handles strings up to 16K characters. If your Pluggy string is longer, you must split it into smaller strings and use this function on each piece. For an example, check the code in ArrayFromINIfile.
  • According to Pluggy Dev 132 documentation, this function is still in development phase.
  • Before this function, modders used StringSetName to set the name of some dummy object and GetName to retrieve it as an OBSE string.