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

2-Way Teleport

Status
Not open for further replies.
Level 6
Joined
Aug 21, 2007
Messages
179
I need help with a trigger that'll make a unit be moved from this area to the other area when back when he steps on it again. I know how to move the unit but whenever I try to make it so that Unit Enters Region, Move unit to other Region and vice versa to the other side, the unit moves back and forth and begins to lag...
 
Level 24
Joined
Jun 26, 2006
Messages
3,406
The problem is, when you move the unit into the other location, it enters that location. You will need to make two other locations to move the units to, and make sure that none of the regions overlap.
 
Level 3
Joined
Jun 1, 2005
Messages
42
Could you try setting a delay in the trigger?

i.e.

set it so that the trigger temp turns the other off for like 2-3 secs, then warped the guy there?

p.s. dun hold my word to it though, i'm also new to the whole editor system.
 
Level 24
Joined
Jun 26, 2006
Messages
3,406
Could you try setting a delay in the trigger?

i.e.

set it so that the trigger temp turns the other off for like 2-3 secs, then warped the guy there?

p.s. dun hold my word to it though, i'm also new to the whole editor system.

It is possible to have a delay in the trigger, where it moves the units still in the region to the other region, but the previously mentioned methods are both easier and more efficient.
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
  • Teleport to 2
    • Events
      • Unit - Unit Enters Region 1
    • Conditions
      • none
    • Actions
      • Trigger - Disable Teleport to 1 trigger
      • Unit - Move Unit to Center of Region 2
      • Trigger - Enable Teleport to 1 trigger
same for other
remove the leak
 
Status
Not open for further replies.
Top