• 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 to make places to Teleport

Status
Not open for further replies.
Level 3
Joined
May 20, 2008
Messages
66
Hey how do you make places to teleport in? like walk into something and it teleports you somewhere

Create 2 regions, and a trigger like this:

Event - An Unit Enter [Region 1]

Action - Unit - Move [Triggering/Entering Unit] instantly to [Region 2]

There you go.

Or

Place the waygate somewhere, create a region, set waygate's destination to that region -----> when the unit entered the waygate, it'll be instantly teleported to center of the region.

HF.
 
Level 17
Joined
Jun 12, 2007
Messages
1,261
As I discovered recently ... trying to create a two way teleport does NOT work. By that, I mean that you can't have 'enters x, moves to y', and 'enters y, moves to x' . I tried this recently and it completely froze my computer. Horrible, no?

Makes sense if u think a bit...

Unit enters X that goes to Y.
At same time it activates trigger to go from Y to X.
Then X goes to Y again etc.. U get this never ending loop.
X --> Y --> X --> Y --> X --> Y
This sucks memory aka crash.

Either: Use waygates like the guy above me mentioned.

Or make 4 regions.
X1 goes to Y2
Y1 goes to X2
But!
X2 goes nowhere
Y2 goes nowhere
 
Status
Not open for further replies.
Top