• 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.

Floating Text Questions: Answer Them If You Can.

Status
Not open for further replies.
Level 3
Joined
Aug 17, 2007
Messages
51
1.) How can i make it so that EVERY time a text is created it dissapears within 1.2 seconds.

2.)Stay With A Triggering Unit.
 
Level 17
Joined
Jun 17, 2007
Messages
1,433
1. Make something like this...

  • Events
    • Map initialization
    • Conditions
    • Actions
      • Floating Text - Create floating text that reads This is how to do i... above Footman 0000 <gen> with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Wait 1.20 game-time seconds
      • Floating Text - Destroy (Last created floating text)
or if you have multiple text at the same time:


  • Events
    • Map initialization
    • Conditions
    • Actions
      • Floating Text - Create floating text that reads This is how to do i... above Footman 0000 <gen> with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Set FT = (Last created floating text)
      • Wait 1.20 game-time seconds
      • Floating Text - Destroy FT
 
1)
  • Floating Text - Create floating text that reads Example at (Position of (Triggering unit)) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
  • Floating Text - Change (Last created floating text): Disable permanence
  • Floating Text - Change the lifespan of (Last created floating text) to 1.20 seconds
  • Floating Text - Change the fading age of (Last created floating text) to 0.60 seconds
The Floating text will vanish till 1.20 seconds.

2) You should use JASS for that
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
hvo-busterkomo was wrong, thats the worst way to do it so he does not deserve + rep. DragoonZombie on the other hand told the propper way to do it while keeping it MUI.

For number 2, you will have to create a text tag with the string above the unit every 0.05 seconds and have it last 0.05 seconds.
 
Status
Not open for further replies.
Top