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

Waygate using dialogue show help me

Status
Not open for further replies.
Level 5
Joined
Oct 20, 2010
Messages
101
hi all, it might sounds noobish but i have a question about using waygate by dialogue show, Exemple: when Hero enter the region it show many dialogue like: the swap, the Library, the castle keep, so we can select the dialogue to teleport to the wanted and apporiate place you want to go can you help me doing that and show me exemple of the trigger and variable to uses for that and reward ++rep :ogre_love:

FTW
 
Level 31
Joined
Jun 27, 2008
Messages
2,557
An example here. Oh, this example leaks by the way.

  • Teleportation Window
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Teleport
    • Actions
      • Trigger - Turn on Teleportation Itself <gen>
      • Dialog - Clear Dialog
      • Dialog - Change the title of Dialog to Teleport to:
      • Dialog - Create a dialog button for Dialog labelled |CFF7EBFF1Hill of C...
      • Set DialogButton1 = (Last created dialog Button)
      • Dialog - Create a dialog button for Dialog labelled |CFF7EBFF1Sky Boeth...
      • Set DialogButton2 = (Last created dialog Button)
      • Dialog - Create a dialog button for Dialog labelled Cancel
      • Set DialogButtonCancel = (Last created dialog Button)
      • Dialog - Show Dialog for Player 1 (Red)
  • Teleportation Itself
    • Events
      • Dialog - A dialog button is clicked for Dialog
    • Conditions
    • Actions
      • Trigger - Turn off (This trigger)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to DialogButton1
        • Then - Actions
          • Unit - Move Hero instantly to (Center of Region 006 <gen>)
          • Special Effect - Create a special effect attached to the origin of Hero using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
          • Special Effect - Destroy (Last created special effect)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to DialogButton2
        • Then - Actions
          • Unit - Move Hero instantly to (Center of Region 022 <gen>)
          • Special Effect - Create a special effect attached to the origin of Hero using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
          • Special Effect - Destroy (Last created special effect)
        • Else - Actions
 
Status
Not open for further replies.
Top