• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] does floating text with timer causes leak?

Status
Not open for further replies.
Level 5
Joined
Nov 25, 2004
Messages
65
i mean the floating text that has lifespan using the function "Floating Text - Change lifespan"

is it leak or not? can anybody confirm this?
 
Level 7
Joined
Jul 18, 2009
Messages
272
It cant leak, as WC3 has a dedicated 100 sized range for floating text, so even if it did leak, the leak would be finite in size and so can not be any problem at all as 100 floating texts should cause no lag at all.
What if you create 100 floating texts every 0.01 seconds and destroy them immediately? :ugly:

In that (unlikely) case, it would be bad if they would leak. ^^
 
Level 22
Joined
Sep 24, 2005
Messages
4,821
Don't worry it won't leak, DrSuperGood was just saying that if ever it would leak it wouldn't affect the game.

Also you can only have 100 or 99 (?) active texttags at a time.
 
Status
Not open for further replies.
Top