HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Is texttag a handel?

02-10-2007, 03:46 PM#1
RaveEye
I was wondering if texttag is handels? Because I want to store a texttag in a gamecache useing the funiction H2I, but it dosent really work.

If it isnt a handel, is there then a way to store the texttag so you can get it back later without using globals variables?

Thanks
RaveEye
02-10-2007, 03:48 PM#2
blu_da_noob
Yes it is a handle. A note, however, is that if a texttag is not permanent and you give it a fade time, the handle index it occupies is released and can be used by other handles.
02-10-2007, 04:13 PM#3
Vexorian
handle is some kind of way of disguising integers.

The usual ref counter always keeps a check for 0x10000 before doing the usual releasing.

Texttags then are odd handles, they use ids from 1 to 99, not the usual ones.

But you still have to 'destroy' them, either DestroyTextTag or adding a life time.