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

[General] Buildable Way Gates

Status
Not open for further replies.
Level 16
Joined
May 25, 2004
Messages
1,192
In my Map Im making I have waygates as buildable buildings, but I have a problem... they don't seem to teleport them back and forth.. any idea on how to help me on this.. I figure it would be the same as in StarCraft.... the zerg nydus canals.. but im not sure how to get that to work.
 
Level 28
Joined
Sep 26, 2009
Messages
2,520
Waygates don't teleport you back and forth. Each waygate teleports entering unit to some region.
The back-and-forth is actually done that the region lies directly below way gate, so it gives you that impression of back-and-forth teleporting.

To solve your problem, simply create region beneath some other way gate (or wherever your units are supposed to teleport) and activate the way gate via triggers to that region.
 
Level 16
Joined
May 25, 2004
Messages
1,192
Waygates don't teleport you back and forth. Each waygate teleports entering unit to some region.
The back-and-forth is actually done that the region lies directly below way gate, so it gives you that impression of back-and-forth teleporting.
You are correct
To solve your problem, simply create region beneath some other way gate (or wherever your units are supposed to teleport) and activate the way gate via triggers to that region.
How when I'm trying to make them buildable? I mean that works for normal way gates sure, but that not the problem.
 
Level 28
Joined
Sep 26, 2009
Messages
2,520
Nah, the problem is that for some reason builded Way Gates don't have Way Gate ability even when you manually add it via triggers -> it always returns its level as 0. Those Way Gates that are pre-placed in map retain that ability.

So unless anybody more experienced knows how to handle this, you may end up using/scripting custom teleportation system.
 
Last edited:
Level 12
Joined
May 20, 2009
Messages
822
Nah, the problem is that for some reason builded Way Gates don't have Way Gate ability even when you manually add it via triggers -> it always returns its level as 0. Those Way Gates that are pre-placed in map retain that ability.

So unless anybody more experienced knows how to handle this, you may end up using/scripting custom teleportation system.

That's why I said use JASS code to make locations.

He's got two Waygates that are linked to each other, they'll have two locations each. Location A, B, C, and D. These were all created via custom code.

He brings units to Location A, and they are teleported to Location D. He brings units to Location C, and they are teleported (Moved Instantly to Location) to Location B.

Again, using Custom Code so these locations can be played on the map while playing the map.

That's how I figured this could be done, anyway. xD

As for the visual effect of the Waygate, not sure.

BTW, I think WayGates don't work when they are built is because they're not linked to any location. When you place a Waygate on the map, you have to check "Waygate Active" for it, then choose the Location it teleports to. That's probably why buildable ones don't work.
 
Level 12
Joined
Feb 22, 2010
Messages
1,115
The answer of your question depends on what kind of gate are you trying to make.

1)Is your gate one sided or you can enter/leave from both sides.

2)Are you trying to building a w3 way gate or starcraft nydus.Difference is at the first one you need to have both gates available(built) whereas for nydus you need to build 1 base nydus then you select second location from this base nydus.
 
Level 28
Joined
Sep 26, 2009
Messages
2,520
BTW, I think WayGates don't work when they are built is because they're not linked to any location. When you place a Waygate on the map, you have to check "Waygate Active" for it, then choose the Location it teleports to. That's probably why buildable ones don't work.
Actually you don't have to do that immediately.
You can either link the way gate to some point (like you wrote by checking it is active and selecting region) or you can do it via trigger action. There's one for (de)activating way gate and one for setting region.

The issue is that way gates build during the game lose the Way Gate ability (hence why it doesn't teleport anything - because it simply lacks the abiltiy to teleport), while Way Gates placed in game beforehand retain that ability - hence you can activate the way gate or set its destination path at will any time during the game.
 
Last edited:
Level 12
Joined
Feb 22, 2010
Messages
1,115
The issue is that way gates build during the game lose the Way Gate ability (hence why it doesn't teleport anything - because it simply lacks the abiltiy to teleport), while Way Gates placed in game beforehand retain that ability - hence you can activate the way gate or set its destination path at will any time during the game.

There is no such a bug, I guess you are forgetting to activate way gate after creating it.It won't work with just setting destination.You need to 1)Select destination, 2)Enable way gate.
 
Level 12
Joined
Nov 3, 2013
Messages
989
Give each waygate a single target ability, when it's used (targeting another waygate) set that as the teleportation point.

  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Channel
    • Actions
      • Neutral Building - Set (Triggering unit) destination to (Position of (Target unit of ability being cast))
Btw I think waygates allow any unit to use them, so not only will this allow your units but also the enemy to teleport between these locations

Unless you can choose who goes through the waygate then maybe you would be able to load units into building and then swap place with the place you want to unload at or something, which is more similar to nydusworm.
 
Level 15
Joined
Aug 7, 2013
Messages
1,338
Supposedly maps like "DoBRP" & "Season of Uncertainty: The Dark Phoenix" have build-able waygates.

I will into this more tomorrow.

They use an ability in DoBRP (damn old reference) which simply teleports any units from the unit that has the waygate ability to the point where it's clicked on--a one way waygate.
 
Status
Not open for further replies.
Top