Category:TSFC

Revision as of 12:35, 26 January 2008 by imported>Tibixe (new version)

Tibixe's String Function Collection (latest version is TSFC 0.5.28) is a plugin for OBSE that provides functions to read, create and manipulate string variables in Oblivion. It is developed by Tibixe, with some functions and fixes written by Arius

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 integer value.

Download at TESNexus. The latest version is TSFC 05 omod (FYI, it should be 0.5.0.28)