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

Trigger in X Hero siege.

Status
Not open for further replies.
Level 2
Joined
Nov 21, 2011
Messages
13
How to make trigger like X HERO SIEGE, when u enter the circle other screen will pop out it say : example, HERO IMAGES. how to do that?
 
Level 12
Joined
Aug 12, 2008
Messages
350
You first need to create a region at the map. Then use the following trigger,
  • Enter
    • Events
      • Unit - A unit enters Region 000 <gen>
    • Conditions
      • //Add your condition here (example, triggering unit is a hero equals to true)
    • Actions
      • Dialog - Change the title of Variable_Dialog to Choose Bonus Mode
      • Dialog - Create a dialog button for Variable_Dialog labelled Hero Image
      • Set Variable_DialogButtons[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for Variable_Dialog labelled All Image
      • Set Variable_DialogButtons[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for Variable_Dialog labelled whatever...
      • Set Variable_DialogButtons[3] = (Last created dialog Button)
      • Dialog - Show Variable_Dialog for (Owner of (Triggering unit))
  • Chosen
    • Events
      • Dialog - A dialog button is clicked for Variable_Dialog
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to Variable_DialogButtons[1]
        • Then - Actions
          • //actions for Hero Image
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Clicked dialog button) Equal to Variable_DialogButtons[2]
            • Then - Actions
              • //actions for All Image
            • Else - Actions
              • //whatever actions you want for if dialog button[3] is clicked
 
Level 12
Joined
Aug 12, 2008
Messages
350
MajorKaza said:
By the way. There should be turn on/turn off too. Check this:
http://www.hiveworkshop.com/forums/a...-text-text.w3x
I don't know what's the problem with the trigger that you gave me. It works fine. (o.o)

MajorKaza said:
i don't have editor here but... Don't dialog needs to show up not only change title?
Hmm? I'm not sure what you mean there. Well, if you follow my trigger. It will works. If you want to create another dialog after the player clicked the first one, you can just clear the Variable_Dialog then set a new one for it.
 
Status
Not open for further replies.
Top