• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

The floating text

Status
Not open for further replies.
Level 20
Joined
Jul 6, 2009
Messages
1,885
  • Init
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set UnitVariable = Your unit
      • Floating Text - Create floating text that reads blablabla above UnitVariable with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Set FloatingTextVariable = (Last created floating text)
      • Floating Text - Show FloatingTextVariable for (All players)
      • Floating Text - Change FloatingTextVariable: Enable permanence
  • Loop
    • Events
      • Time - Every 0.04 seconds of game time
    • Conditions
    • Actions
      • Floating Text - Change the position of FloatingTextVariable to UnitVariable with Z offset 0.00
 
Level 3
Joined
Mar 15, 2010
Messages
37
As long as I know about floating texts, the only way to make it is how garfieldleet said. by setting a variable to unit and floating text, and just moving the floating text's variable to position of unit's variable. well its about what you wanna do with floating text, if its hp or something like that you could try to use multiboard to show selected units hp.
 
Status
Not open for further replies.
Top