| 11-09-2008, 02:40 AM | #1 |
I had recently read that float text can leak. I have many triggers in my game that have functions to create Ftext like this. They repeat very often each time a person casts a certain spell.. which happens to have a short cooldown.: Trigger: Floating Text - Create floating text that reads Boom! above (Casting unit) with Z offset 0.00, using font size 9.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
![]() Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
![]() Floating Text - Change (Last created floating text): Disable permanence
![]() Floating Text - Change the lifespan of (Last created floating text) to 1.80 seconds
![]() Floating Text - Change the fading age of (Last created floating text) to 1.10 secondsI'm concerned of leaks. Do they destroy themselves since i have a "lifespan"? If not, how do i go about destroying such a thing when at any given time there could be bunches of these f-text's happening on screen at the same time since it has a very short cooldown on the spell and it is a 10 player map? If i just put a Destroy function after it then it will not show because it will be removed instantly... |
| 11-09-2008, 02:21 PM | #2 |
TT do not leak, in ANY CAUSE. *permanent TT do not leak too, but consume handle (max 99) and may be 100% transperent\render out of camera. |
