• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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
A guy from the german wc3-forum inwc.de tested this, and floating texts with lifespan don't seem to leak. >Link<
 
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