Category:TSFC

From the Oblivion ConstructionSet Wiki
Revision as of 19:01, 18 December 2007 by imported>Tibixe (new version released, cleanup)
Jump to navigation Jump to search

Tibixe's String Function Collection (latest version is TSFC 0.4.0.21) is a plugin for OBSE that provides functions to read, create and manipulate string variables in Oblivion.

One important feature of these functions is that they do not store strings directly in the variables you provide- they store the string in memory, and assign it a reference number. You provide the functions with the reference number, and they draw and use the appropriate string. It means that if you reuse the pointer, the string is basically cut loose and floating around in memory. Use the StrDel function to delete the string associates with the pointer if you plan on reusing the long variable used for the pointer, or if the script is temporary (e.g. scripteffect spells, a script on an object that gets removed or otherwise erased).

You can browse the latest source code if you don't find something in the documentation.

The type stringID is used in this documentation, however this is not recognized by the CS. I use it in to indicate when a long or short is interpreted as a string's identifier, not its "real" value.

Download at TESNexus. The latest version is TSFC_0-4_omod (FYI, it should be 0.4.0.21)