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

Can You Have More Then 1 Dialog In Game

Status
Not open for further replies.
Level 11
Joined
May 10, 2008
Messages
1,001
Can u have more then 1 dialog in game?
What i mean is :ap: when you start a game.. A dialog comes In.. You click a dialog... After that.. Can You have another dialog come in that will give you a different set of choices.... Plz Help.. Thank You:piru:
 
Level 11
Joined
May 10, 2008
Messages
1,001
How???

How would you do that though?? i tried it?
  • Difficulty Dialogue
    • Events
      • Time - Elapsed game time is 10.00 seconds
    • Conditions
    • Actions
      • Dialog - Change the title of DifficultyDialog to What Difficulty do ...
      • Dialog - Create a dialog button for DifficultyDialog labelled Easy
      • Set DifficultyDialogButton[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for DifficultyDialog labelled Medium
      • Set DifficultyDialogButton[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for DifficultyDialog labelled Hard
      • Set DifficultyDialogButton[3] = (Last created dialog Button)
      • Dialog - Create a dialog button for DifficultyDialog labelled Pro
      • Set DifficultyDialogButton[4] = (Last created dialog Button)


  • Easy
    • Events
      • Dialog - A dialog button is clicked for DifficultyDialog
    • Conditions
      • (Clicked dialog button) Equal to DifficultyDialogButton[1]
      • (Unit-type of (Triggering unit)) Not equal to Emissary
    • Actions
      • Unit Group - Pick every unit in (Units in Difficulty <gen>) and do (Actions)
        • Loop - Actions
      • Unit - Set life of (Triggering unit) to 50.00%
      • Game - Display to (All players) for 10.00 seconds the text: Player 1 Chose The ...
And then my other1 is...
Hero Dialogue
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Dialog - Change the title of PickHero to Which Hero Shall Yo...
Dialog - Create a dialog button for PickHero labelled New Hero
Set PickHeroButton[1] = PickHeroButton[1]
Dialog - Create a dialog button for PickHero labelled Load Hero Using Cod...
Set PickHeroButton[2] = PickHeroButton[2]
Dialog - Show PickHero for Player 1 (Red)



NewHero
Events
Dialog - A dialog button is clicked for PickHero
Conditions
(Clicked dialog button) Equal to PickHeroButton[1]
Actions
Unit - Create 1 Emissary for Player 1 (Red) at (Center of Loaded Heros Area <gen>) facing Default building facing degrees


And only 1 of them works.... Please Help:cry:
 
Level 7
Joined
Jul 20, 2008
Messages
377
Forgetting something?

  • Dialog - Show DifficultyDialog for Player 1 (Red)
Also, you don't want two dialogs overlapping. You want to show them at separate times. What if the player takes more than 5 seconds to select a hero? Rather, initialize both dialogs at 5 seconds in, but show the second dialog AFTER the player clicks something on the first. You may have to do a small wait before displaying the next dialog (in response to clicking on the first dialog).
 
Level 11
Joined
May 10, 2008
Messages
1,001
Ooo ye.. Thx man! :D

But how far apart should they be?
cause most of the dialogs im using deal with it right in the beggining of game... (Food, Difficulty, Hero Selection, Save/Load, Etc.)
 
Status
Not open for further replies.
Top