I want to make a boomerang Tower but i cant make it to work.
i can make so 1 tower shoots then go back and gets removed but i cant have more then 1 boomerang tower then.
they get stuck there and wont go back.
please help me.
(make a easy understanding (something))
EDIT: Plz fix my trigger the boomerang wont go back
i can make so 1 tower shoots then go back and gets removed but i cant have more then 1 boomerang tower then.
they get stuck there and wont go back.
please help me.
(make a easy understanding (something))
EDIT: Plz fix my trigger the boomerang wont go back
-
Boomerang Tower
-
Events
- Unit - A unit owned by Player 12 (Brown) Is attacked
-
Conditions
- ((Attacking unit) is in (Units of type Boomerang Tower)) Equal to True
-
Actions
- Custom script: local unit udg_Boomerang_Dummy
- Custom script: local unit udg_Boomerang_Tower
- Set Boomerang_Tower = (Attacking unit)
- Set BoomerangPoint = (Position of (Attacked unit))
- Unit - Create 1 Boomerang Dummy for (Owner of Boomerang_Tower) at (Position of Boomerang_Tower) facing Default building facing degrees
- Set Boomerang_Dummy = (Last created unit)
- Unit - Order Boomerang_Dummy to Move To BoomerangPoint
- Wait until ((Current order of Boomerang_Dummy) Equal to (Order(move))), checking every 1.00 seconds
- Wait until ((Current order of Boomerang_Dummy) Not equal to (Order(move))), checking every 0.10 seconds
- Unit - Order Boomerang_Dummy to Move To (Position of Boomerang_Tower)
- Wait until ((Distance between (Position of Boomerang_Dummy) and (Position of Boomerang_Tower)) Less than or equal to 100.00), checking every 0.10 seconds
- Unit - Remove Boomerang_Dummy from the game
-
Events
Last edited: