HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Quick Question

09-08-2006, 11:55 AM#1
Pheonix-IV
Trigger:
Floating Text - Create floating text that reads Not enough mana above (Casting unit) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency

I'm pretty sure this leaks a location, just wanted confirmation. Does it leak a location or does it only leak the string?
09-08-2006, 12:02 PM#2
blu_da_noob
No. But it will leak a text tag if you don't destroy it :P

(This thing uses the a native which sets the text tag position with a unit taken as an arguement. Therefore, you are never getting the unit's location -> no location is created -> no location leak. You can tell if you're creating a location when you have something is GUI which says 'Position of (XXX unit)')
09-09-2006, 03:35 AM#3
Pheonix-IV
Right, cheers Blu, i didn't think it did, but i wasn't sure.