- 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?
I am trying to move the DroneZone region on to DroneMeeting point, which would be the point of an ability being cast.
-
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)
-
Events
-
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
-
Events
-
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
-
Events
I am trying to move the DroneZone region on to DroneMeeting point, which would be the point of an ability being cast.
Last edited: