• 🏆 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] Dialog help

Status
Not open for further replies.
Level 4
Joined
Jun 16, 2007
Messages
97
For the most part this dialog system i have works, but when it gets into the Length section, after clicking a button it will constantly loop and show the same screen.

  • Events
    • Time - Elapsed game time is 0.01 seconds
  • Actions
    • Dialog - Change the title of Game to Choose Game Type
    • Dialog - Create a dialog button for Game labelled Team VS
    • Set VS = (Last created dialog Button)
    • Dialog - Create a dialog button for Game labelled Normal
    • Set Normal = (Last created dialog Button)
    • Dialog - Create a dialog button for Game labelled Survival
    • Set Survival = (Last created dialog Button)
    • Wait 0.01 seconds
    • Dialog - Show Game for Player 1 (Red)
  • Events
    • Dialog - A dialog button is clicked for Game
  • Conditions
    • ((Clicked dialog button) Equal to Survival) or ((Clicked dialog button) Equal to VS)
  • Actions
    • Dialog - Change the title of Difficulty to Choose Game Difficu...
    • Dialog - Create a dialog button for Difficulty labelled Easy - 50%
    • Set Easy = (Last created dialog Button)
    • Dialog - Create a dialog button for Difficulty labelled Medium - 75%
    • Set Medium = (Last created dialog Button)
    • Dialog - Create a dialog button for Difficulty labelled Hard - 100%
    • Set Hard = (Last created dialog Button)
    • Wait 0.01 seconds
    • Dialog - Show Difficulty for Player 1 (Red)
  • Events
    • Dialog - A dialog button is clicked for Game
  • Conditions
    • (Clicked dialog button) Equal to Normal
  • Actions
    • Dialog - Change the title of Length to Choose Game Length
    • Dialog - Create a dialog button for Length labelled 10 Minutes
    • Set Ten = (Last created dialog Button)
    • Dialog - Create a dialog button for Length labelled 20 Minutes
    • Set Twenty = (Last created dialog Button)
    • Dialog - Create a dialog button for Length labelled 30 Minutes
    • Set Thirty = (Last created dialog Button)
    • Wait 0.01 seconds
    • Dialog - Show Length for Player 1 (Red)
  • Events
    • Dialog - A dialog button is clicked for Length
  • Conditions
    • ((Clicked dialog button) Equal to Ten) or (((Clicked dialog button) Equal to Twenty) or ((Clicked dialog button) Equal to Thirty))
  • Actions
    • Dialog - Change the title of Difficulty to Choose Game Difficu...
    • Dialog - Create a dialog button for Difficulty labelled Easy - 50%
    • Set Easy = (Last created dialog Button)
    • Dialog - Create a dialog button for Difficulty labelled Medium - 75%
    • Set Medium = (Last created dialog Button)
    • Dialog - Create a dialog button for Difficulty labelled Hard - 100%
    • Set Hard = (Last created dialog Button)
    • Wait 0.01 seconds
    • Dialog - Show Length for Player 1 (Red)
  • Events
    • Dialog - A dialog button is clicked for Difficulty
  • Actions
    • Dialog - Change the title of Hero to Choose Hero
    • Dialog - Create a dialog button for Hero labelled Tauren Rouge - Inte...
    • Set Int = (Last created dialog Button)
    • Dialog - Create a dialog button for Hero labelled Tauren Rouge - Stre...
    • Set Str = (Last created dialog Button)
    • Dialog - Create a dialog button for Hero labelled Tauren Rouge - Agil...
    • Set Agi = (Last created dialog Button)
    • Wait 0.01 seconds
    • Dialog - Show Hero for Player 1 (Red)
    • Dialog - Show Hero for Player 2 (Blue)
    • Dialog - Show Hero for Player 3 (Teal)
    • Dialog - Show Hero for Player 4 (Purple)
    • Dialog - Show Hero for Player 5 (Yellow)
    • Dialog - Show Hero for Player 6 (Orange)
    • Dialog - Show Hero for Player 7 (Green)
    • Dialog - Show Hero for Player 8 (Pink)
    • Dialog - Show Hero for Player 9 (Gray)
    • Dialog - Show Hero for Player 10 (Light Blue)

the tree for the dialog is:
game>norm/sur/vs
norm>time>diff>hero
sur/vs>diff>hero
 
Level 4
Joined
Jun 16, 2007
Messages
97
Ahh small thing...why not just pick all players and then show dialog for picked player in the last trigger? To avoid making all those.

yes that would be easier..dont know why i didnt make it like that
ANYWAYS..the first guy who replied found the mistake, it was a foolish one.
 
Status
Not open for further replies.
Top