• 🏆 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!

Help Moving Trigger Tied Event Region

Status
Not open for further replies.
Level 6
Joined
Sep 11, 2006
Messages
172
Can someone help me understand how to move my region using rects so that the last trigger on the list fires?

  • Drone Launcher
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to |cfffcd703Launch Drones|r
    • Actions
      • Custom script: call RemoveLocation(udg_DroneMeeting)
      • Set DroneMeeting = (Target point of ability being cast)
      • Region - Center DroneZone <gen> on DroneMeeting
      • Set TempPoint = (Center of Region 412 <gen>)
      • Animation - Play (Casting unit)'s attack animation
      • Unit - Create 1 |cff3399ffRepair Drone|r (Flying) for Player 12 (Brown) at TempPoint facing 270.00 degrees
      • Animation - Change (Last created unit) flying height to 400.00 at 1.50
      • AI - Ignore (Last created unit)'s guard position
      • Animation - Play (Last created unit)'s Walk Alternate animation
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Set TempPoint = (Center of Region 412 Copy <gen>)
      • Unit - Order (Last created unit) to Move To TempPoint
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Wait 0.80 seconds
      • Set TempPoint = (Center of Region 412 <gen>)
      • Animation - Reset (Casting unit)'s animation
      • Animation - Play (Casting unit)'s attack animation
      • Unit - Create 1 |cff3399ffRepair Drone|r (Flying) for Player 12 (Brown) at TempPoint facing 270.00 degrees
      • Animation - Change (Last created unit) flying height to 400.00 at 1.50
      • AI - Ignore (Last created unit)'s guard position
      • Animation - Play (Last created unit)'s Walk Alternate animation
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Set TempPoint = (Center of Region 412 Copy <gen>)
      • Unit - Order (Last created unit) to Move To TempPoint
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Wait 0.80 seconds
      • Set TempPoint = (Center of Region 412 <gen>)
      • Animation - Reset (Casting unit)'s animation
      • Animation - Play (Casting unit)'s attack animation
      • Unit - Create 1 |cff3399ffRepair Drone|r (Flying) for Player 12 (Brown) at TempPoint facing 270.00 degrees
      • Animation - Change (Last created unit) flying height to 400.00 at 1.50
      • AI - Ignore (Last created unit)'s guard position
      • Animation - Play (Last created unit)'s Walk Alternate animation
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Set TempPoint = (Center of Region 412 Copy <gen>)
      • Unit - Order (Last created unit) to Move To TempPoint
      • Custom script: call RemoveLocation(udg_TempPoint)
  • Redirect
    • Events
      • Unit - A unit enters Region 412 Copy <gen>
    • Conditions
      • (Unit-type of (Entering unit)) Equal to |cff3399ffRepair Drone|r (Flying)
    • Actions
      • Unit - Order (Entering unit) to Move To DroneMeeting
  • Drone Arrival
    • Events
      • Unit - A unit enters DroneZone <gen>
    • Conditions
      • (Unit-type of (Entering unit)) Equal to |cff3399ffRepair Drone|r (Flying)
    • Actions
      • Game - Display to (All players) the text: woof
      • Set TempPoint = (Random point in DroneZone <gen>)
      • Unit - Order (Entering unit) to Move To TempPoint
      • Custom script: call RemoveLocation(udg_TempPoint)
      • Animation - Change (Entering unit) flying height to 200.00 at 1.00
      • Wait 2.00 seconds
      • Set TempPoint = (Position of (Entering unit))
      • Unit - Remove (Entering unit) from the game
      • Unit - Create 1 |cff3399ffRepair Drone|r for (Owner of |cff9acd32City Spire|r of |cfff5c605Orfus|r 0020 <gen>) at TempPoint facing (Facing of (Entering unit)) degrees

I am trying to move the DroneZone region on to DroneMeeting point, which would be the point of an ability being cast.
 
Last edited:
Status
Not open for further replies.
Top