• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[Trigger] Problem with my dialog.

Status
Not open for further replies.
Level 5
Joined
Jun 24, 2009
Messages
118
Hello,I need help with my trigger. I don't know what is wrong,this isn't completed trigger but anyway this should work already.Problem is that heroes doesn't teleport to the arena.

  • Teammode
    • Events
      • Dialog - A dialog button is clicked for Dialog
    • Conditions
      • (Clicked dialog button) Equal to DialogButtons[1]
    • Actions
      • Game - Unpause the game
      • Game - Display to (All players) the text: |cff32cd32Current a...
      • Wait 300 seconds
      • Unit Group - Pick every unit in (Units in Full Destroyers Region <gen>) and do (Actions)
        • Loop - Actions
          • If (((Picked unit) is A Hero) Not equal to True) then do (Unit - Move (Picked unit) instantly to (Center of Teleport Destroyers Region <gen>)) else do (Do nothing)
          • Unit Group - Remove (Matching unit) from (Last created unit group)
      • Unit Group - Pick every unit in (Units in Full Guards Region <gen>) and do (Actions)
        • Loop - Actions
          • If (((Picked unit) is A Hero) Not equal to True) then do (Unit - Move (Picked unit) instantly to (Center of Teleport Guards Region <gen>)) else do (Do nothing)
          • Unit Group - Remove (Matching unit) from (Last created unit group)
      • Game - Pause the game
      • Game - Display to (All players) the text: |cff116644Get ready...
      • Wait 5.00 seconds
      • Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across Arena Region <gen>
      • Floating Text - Create floating text that reads |cffff00005|r at (Center of Timer Region <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Wait 1.00 seconds
      • Floating Text - Destroy (Last created floating text)
      • Floating Text - Create floating text that reads |cffff00004|r at (Center of Timer Region <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Wait 1.00 seconds
      • Floating Text - Destroy (Last created floating text)
      • Floating Text - Create floating text that reads |cffff00003|r at (Center of Timer Region <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Wait 1.00 seconds
      • Floating Text - Destroy (Last created floating text)
      • Floating Text - Create floating text that reads |cffff00002|r at (Center of Timer Region <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Wait 1.00 seconds
      • Floating Text - Destroy (Last created floating text)
      • Floating Text - Create floating text that reads |cffff00001|r at (Center of Timer Region <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Wait 1.00 seconds
      • Floating Text - Destroy (Last created floating text)
      • Game - Unpause the game
 
Status
Not open for further replies.
Top