Difference between revisions of "Category:TSFC"

84 bytes added ,  19:07, 18 December 2007
m
no edit summary
imported>Tibixe
(new version released, cleanup)
imported>Tibixe
m
Line 1: Line 1:
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.
'''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. It is developed by ''Tibixe'', with 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).
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).
Line 5: Line 5:
You can browse the [http://obse-plugins.svn.sourceforge.net/viewvc/obse-plugins/TSFC/ latest source code] if you don't find something in the documentation.
You can browse the [http://obse-plugins.svn.sourceforge.net/viewvc/obse-plugins/TSFC/ 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.
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 [http://www.tesnexus.com/downloads/file.php?id=11666 TESNexus]. The latest version is '''TSFC_0-4_omod''' (FYI, it should be 0.4.0.21)
Download at [http://www.tesnexus.com/downloads/file.php?id=11666 TESNexus]. The latest version is '''TSFC_0-4_omod''' (FYI, it should be 0.4.0.21)


[[Category: OBSE Plug-Ins]]
[[Category: OBSE Plug-Ins]]
Anonymous user