HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

TextTag Data

03-23-2009, 07:53 AM#1
TheKid
After further inspection, I don't think anybody could benefit from this at all - deleted.
03-23-2009, 08:04 AM#2
Tyrande_ma3x
Wouldn't that result in ultramegagigahuge arrays?
EDIT: My bad, misread. I obviously don't know much about texttags...
03-23-2009, 08:46 AM#3
grim001
there is nothing wrong with it, but it is too simple to be needed as a script. it demonstrates a method.
03-23-2009, 08:52 AM#4
TheKid
Quote:
Originally Posted by grim001
there is nothing wrong with it, but it is too simple to be needed as a script. it demonstrates a method.

That's why I didn't bother putting it in the submissions section. If anybody needs it they should be able to find it by doing a search for "TextTags".
03-23-2009, 01:25 PM#5
Deaod
Quote:
h2i(t)-FIRST_ID
will bug. h2i(t) is enough.
03-23-2009, 02:01 PM#6
Vestras
Who would want to store a struct in a texttag?
03-23-2009, 03:37 PM#7
Anitarf
As Vestras said, there's no use for this, the only native that returns a textag is CreateTextTag, so you are never in a position where you'd need to attach data to a texttag for later use; if you use it later, you had to have goten it from a varable or an array, so you can just store the data in a parallel variable/array.
03-23-2009, 08:01 PM#8
TheKid
Quote:
Originally Posted by Anitarf
As Vestras said, there's no use for this, the only native that returns a textag is CreateTextTag

I agree, its semi-useless, but in refute the only native that returns a timer is CreateTimer, etc. Say for instance you were wanting to store the elapsed time (current age) of a text-tag. Or maybe you want to know whether or not the text-tag is visible. You would probably have to store these values -to- the text-tag.

It really doesn't matter though, just delete the thread if you like. I just thought I'd post it up to see what people said.
03-23-2009, 08:24 PM#9
akolyt0r
GetExpiredTimer ...
03-23-2009, 08:30 PM#10
TheKid
Point taken.