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

How do u make way gates work exactly the way they do in warcraft 3 campign?

Status
Not open for further replies.
Level 2
Joined
Oct 12, 2010
Messages
14
Im new to map making and i was wondering how to make those waygates work. I placed a few waygates from under the neutral passive tab in WE. Then i checked the "way gate active" box. But under destinations i couldnt find any of the other waygates and only regions were shown. Thank you for any help in advanced
 
Level 12
Joined
Jan 30, 2009
Messages
1,067
I would do it like this.

Make 2 Waygates.

At the middle of each waygate place one region, about the size (if not a little bigger) than the center area of the waygate (Where you would "walk through").

Then, at the side of the waygate where you want the unit to exit, simply place another region at the outside of each waygate. This gives us 4 of them, total.

Name them something you'll remember, and can tell everything apart.

Waygate 1:

  • To Waygate 2
  • From Waygate 2
Waygate 2:

  • To Waygate 1
  • From Waygate 1
Then it's 2 simple teleportation triggers.

Waygate 1 to Waygate 2:
  • Waygates 1 to 2
    • Events
      • Unit - A unit enters To Waygate 2 <gen>
    • Conditions
      • //Whatever Conditions you want here.
    • Actions
      • Unit - Move (Entering unit) instantly to (Center of From Waygate 1 <gen>)
Waygate 2 to Waygate 1:
  • Waygates 2 to 1
    • Events
      • Unit - A unit enters To Waygate 1 <gen>
    • Conditions
      • //Whatever Conditions you want here.
    • Actions
      • Unit - Move (Entering unit) instantly to (Center of From Waygate 2 <gen>)
Just make sure you get the regions right, or you'll end up with an infinite loop which will crash the game!
 
Level 13
Joined
May 11, 2008
Messages
1,198
way gates are fun. basically they target a region. you move into them and your units are deposited at the region. usually the region targeted is where another way gate is. but you can make it be anywhere you see fit.

make sure to edit the way gate like you would units on the map. we got general: player: neutral passive, and waygate active box checked. there is no need for triggers because the game has it's own triggers for waygates. you do need some regions, though. don't forget to make each way gate target the appropriate region. that's in the waygate placed on the map unit properties.

custom color is fun to use if you want to either:between waygates that teleport to eachother code them...otherwise...the color can denote what type of waygate it is...for example in my map poisoned plateau teal waygates bring your units to high ground and dark green waygates bring them to low ground.
 
Level 12
Joined
Jan 30, 2009
Messages
1,067
I never could get the things to work right, :p

I did this instead. Was much easier than banging my head against the wall trying to figure out how to get em working right. :)
 
Level 14
Joined
Dec 12, 2009
Messages
1,027
You should only need 2 regions, destinations.

Make 2 regions. Place them anywhere and name them Waygate 1 and Waygate 2.

Place 2 Waygates on the map over the placed regions. Activate the waygate ability of the 1st Waygate and set it to Waygate 2. Do the same for the other, but with Waygate 1 as the destination.

The waygate ability can be used with any building, so long as you open up Object editor and set the building's (unit's) classification to include Walkable.

//\\oo//\\
 
Status
Not open for further replies.
Top