• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece!🔗 Click here to enter!

Teleport/ Gate Trigger

Status
Not open for further replies.
Level 7
Joined
Sep 19, 2012
Messages
204
Hey guys...

I was just wondering: is there a way to move a unit from a to b without cancelling its move order?

so i click somewhere, the unit runs into the gate, comes out of another one and continues going?

i use this very simple trigger rn:
  • West 1 in
    • Events
      • Unit - A unit enters West Tp Bindarea11 <gen>
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Owner of (Entering unit)) Equal to Player 1 (Red)
          • (Owner of (Entering unit)) Equal to Player 2 (Blue)
          • (Owner of (Entering unit)) Equal to Player 3 (Teal)
          • (Owner of (Entering unit)) Equal to Player 4 (Purple)
    • Actions
      • Set temp_point = (Center of West Tp Bindarea12 out <gen>)
      • Unit - Move (Entering unit) instantly to temp_point
      • Camera - Pan camera for (Owner of (Entering unit)) to temp_point over 1.00 seconds
      • Custom script: call RemoveLocation (udg_temp_point)

but this cancels the units move order :/

greetings

CodeBlack
 
Status
Not open for further replies.
Top