HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Floating text memory leak question.

01-07-2006, 09:31 AM#1
Moss
Does
Code:
Floating Text - Change the lifespan of (Last created floating text) to 0.55 seconds
destroy the texttag or do I have to avoid that and use local variable and timers? Because I have a trigger running every half second and looping through 9 units and recreating these Floating texts. I haven't noticed any lag or runaway ram usage or anything but maybe I haven't played the map for long enough.
01-07-2006, 10:31 AM#2
Blade.dk
Just set the permanent state of the texttag to false, before you do so, then (to my knowledge) it should not leak. Somebody correct me of I am wrong.
01-07-2006, 11:32 AM#3
Vexorian
yes, setting it to non permanent it will self destruct
01-07-2006, 05:42 PM#4
Moss
Cool thanks.