• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

problem with floating text

Status
Not open for further replies.
Im making a td and when units die i use a custom way to get money... i use floating text to show that you get gold but i use umswe and there it is no "lifespan" so please help me! +rep for the solution ofc :D
  • Floating Text - Create floating text that reads +Gold above (Dying unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
IT WONT REMOVE!!!... there's no lifespan as i mentioned
 

Dr Super Good

Spell Reviewer
Level 65
Joined
Jan 18, 2005
Messages
27,296
After creation.
Use the action to set its permance to false.
Then use another action to set its life time (yes its another action, not the creator) to the desired ammount.

If that does not work cause your WE is messed up (I can even use that stuff in GUI in JNGP), then I guess you will just have to use the JASS natives to set the life time and permance, but that is pretty straight foward.
 
After creation.
Use the action to set its permance to false.
Then use another action to set its life time (yes its another action, not the creator) to the desired ammount.

If that does not work cause your WE is messed up (I can even use that stuff in GUI in JNGP), then I guess you will just have to use the JASS natives to set the life time and permance, but that is pretty straight foward.

Thats what i mean... There are no actions to do that... there are create and destroy, change color and its transparency, create over unit and show/hide... no permance...
 
Status
Not open for further replies.
Top