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

Dialog Tutorials

Status
Not open for further replies.
Level 18
Joined
May 11, 2012
Messages
2,103
holee, where can I find dialog tutorials, need them.

or can someone tell me how to make this properly work?

it only creates blank dialog box

Reply fast plz


  • Event Cricle
    • Events
      • Unit - A unit enters Event circle <gen>
    • Conditions
      • ((Entering unit) is A Hero) Equal to True
    • Actions
      • Set Player_Dialog = (Owner of (Entering unit))
      • Dialog - Create a dialog button for Arena labelled Arena 1
      • Set Dialog_Button[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for Arena labelled Arena 2
      • Set Dialog_Button[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for Arena labelled Arena 3
      • Set Dialog_Button[3] = (Last created dialog Button)
      • Dialog - Create a dialog button for Arena labelled Arena 4
      • Set Dialog_Button[4] = (Last created dialog Button)
      • Dialog - Show Arena for Player_Dialog
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to Dialog_Button[1]
        • Then - Actions
          • Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Picked unit) is A Hero) Equal to True) and (((Picked unit) belongs to an ally of Player 1 (Red)) Equal to True))) and do (Actions)
            • Loop - Actions
              • Unit - Pause (Picked unit)
              • Unit - Move (Picked unit) instantly to (Center of Arena 1 <gen>)
              • Wait 6.00 seconds
              • Unit - Unpause (Picked unit)
        • Else - Actions
 
Level 4
Joined
Jul 31, 2012
Messages
63
holee, where can I find dialog tutorials, need them.

or can someone tell me how to make this properly work?

it only creates blank dialog box

Reply fast plz


  • Event Cricle
    • Events
      • Unit - A unit enters Event circle <gen>
    • Conditions
      • ((Entering unit) is A Hero) Equal to True
    • Actions
      • Set Player_Dialog = (Owner of (Entering unit))
      • Dialog - Create a dialog button for Arena labelled Arena 1
      • Set Dialog_Button[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for Arena labelled Arena 2
      • Set Dialog_Button[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for Arena labelled Arena 3
      • Set Dialog_Button[3] = (Last created dialog Button)
      • Dialog - Create a dialog button for Arena labelled Arena 4
      • Set Dialog_Button[4] = (Last created dialog Button)
      • Dialog - Show Arena for Player_Dialog
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to Dialog_Button[1]
        • Then - Actions
          • Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Picked unit) is A Hero) Equal to True) and (((Picked unit) belongs to an ally of Player 1 (Red)) Equal to True))) and do (Actions)
            • Loop - Actions
              • Unit - Pause (Picked unit)
              • Unit - Move (Picked unit) instantly to (Center of Arena 1 <gen>)
              • Wait 6.00 seconds
              • Unit - Unpause (Picked unit)
        • Else - Actions






Hello sir. does your trigger is quite oKay and working now?
because we have the same IDEA for a TELEPORTER..
and if you dont mind please do post the working trigger for your teleporter
so that i would have a base for my own teleporter..
 
Level 12
Joined
Sep 11, 2011
Messages
1,176
  • Event Cricle
    • Events
      • Unit - A unit enters Event circle <gen>
    • Conditions
      • ((Entering unit) is A Hero) Equal to True
    • Actions
      • Set Player_Dialog = (Owner of (Entering unit))
      • Dialog - Create a dialog button for Arena labelled Arena 1
      • Set Dialog_Button[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for Arena labelled Arena 2
      • Set Dialog_Button[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for Arena labelled Arena 3
      • Set Dialog_Button[3] = (Last created dialog Button)
      • Dialog - Create a dialog button for Arena labelled Arena 4
      • Set Dialog_Button[4] = (Last created dialog Button)
      • Dialog - Show Arena for Player_Dialog
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to Dialog_Button[1]
        • Then - Actions
          • Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Picked unit) is A Hero) Equal to True) and (((Picked unit) belongs to an ally of Player 1 (Red)) Equal to True))) and do (Actions)
            • Loop - Actions
              • Unit - Pause (Picked unit)
              • Unit - Move (Picked unit) instantly to (Center of Arena 1 <gen>)
              • Wait 6.00 seconds
              • Unit - Unpause (Picked unit)
        • Else - Actions


not sure.. i made the same trigger as yours..

  • Melee Initialization
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Paladin
    • Actions
      • Dialog - Change the title of Arena to Dialog Test
      • Set Player_Dialog = (Owner of (Entering unit))
      • Dialog - Create a dialog button for Arena labelled Arena 1
      • Set Dialog_Button[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for Arena labelled Arena 2
      • Set Dialog_Button[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for Arena labelled Arena 3
      • Set Dialog_Button[3] = (Last created dialog Button)
      • Dialog - Create a dialog button for Arena labelled Arena 4
      • Set Dialog_Button[4] = (Last created dialog Button)
      • Dialog - Show Arena for Player_Dialog
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to Dialog_Button[1]
        • Then - Actions
          • Unit - Pause (Entering unit)
          • Unit - Move (Entering unit) instantly to (Player 1 (Red) start location)
          • Wait 6.00 seconds
          • Unit - Unpause (Entering unit)
        • Else - Actions
and it's working
here is the screenshot
210329-albums5809-picture61483.jpg


.. is there any trigger related to this one ?
 
Last edited:
Level 4
Joined
Jul 31, 2012
Messages
63
@twovenomous
thank you sir.
i hope it works on me too..

@twovenomous
sir please do put the variable that you used in this trigger :D

im sorry sir im just a newbie.
or kindly put the link of your map that has this trigger thanks
 
Last edited:
Level 12
Joined
Sep 11, 2011
Messages
1,176
@twovenomous
thank you sir.
i hope it works on me too..

@twovenomous
sir please do put the variable that you used in this trigger :D

im sorry sir im just a newbie.
or kindly put the link of your map that has this trigger thanks

i'm sorry, kram99. i didn't aware of your edited post, you should have bumped it or something like that. here is a test map for the dialog.
 

Attachments

  • Dialog Test.w3x
    20.3 KB · Views: 55
Status
Not open for further replies.
Top