• 🏆 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!

[Trigger] My Floating Text isnt showing up!

Status
Not open for further replies.
Level 7
Joined
Mar 28, 2009
Messages
210
Im making a marco polo game and for some reason the floating text isnt showing up and if u need more info just tell me

Thx in Advance

  • Untitled Trigger 001 Copy
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Shout
      • (Ability being cast) Equal to Shout Chatty
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Unit-type of (Picked unit)) Equal to Quick Kid
              • (Unit-type of (Picked unit)) Equal to Smart Kid
            • Then - Actions
              • Floating Text - Create floating text that reads POLO! at (Position of (Picked unit)) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
              • Floating Text - Show (Last created floating text) for (All players)
              • Unit Group - Pick every unit in UnderWater and do (Actions)
                • Loop - Actions
                  • Floating Text - Destroy (Last created floating text)
              • Wait 6.00 seconds
              • Floating Text - Destroy (Last created floating text)
            • Else - Actions
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
Ability being cast can't be "Shout" AND "Shout Chatty" at the same time. Same thing with the unit type.

Conditions are connected with AND function, you need to use OR like this:

  • Conditions
    • Or - Any (Conditions) are true
      • Conditions
        • (Ability being cast) Equal to Animate Dead
        • (Ability being cast) Equal to Acid Bomb
Your method of destroying floating texts looks weird to me.
 
Status
Not open for further replies.
Top