• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

How to make places to Teleport

Status
Not open for further replies.
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.
 
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.
Back
Top