- Joined
- Apr 13, 2007
- Messages
- 17
So im making a boss map just to get new ideas for triggering and such, and i'm spawning alot of meat wagons to attack a large part of the area where the boss fight takes place so the players have to run to the sides. Now the problem is between these attacks that i order the meat wagons target the heroes/units outside the area they should be targeting, the meat wagons have 9000 range, and cooldown on their attack speed is 0.30.
Here are the 4 triggers i use for it all (yes it could have been done easier but i had done some of them when i realised that i could have done it easier):
EDIT: Now the trigger is right.
Here are the 4 triggers i use for it all (yes it could have been done easier but i had done some of them when i realised that i could have done it easier):
-
Meat Wagon Attack Warning
-
Events
- Time - Elapsed game time is 170.00 seconds
-
Conditions
- (Boss1 is alive) Equal to True
-
Actions
- Game - Display to (All players) the text: Gruk: My bloodbarra...
- Wait 10.00 seconds
- Countdown Timer - Create a timer window for (Create a periodic One-shot timer lasting 30.00) with title Blood Barrage ends ...
- Set BloodBarrageTimer = (Last started timer)
-
Events
-
Meat Wagon Attack
-
Events
- Time - Elapsed game time is 180.00 seconds
- Conditions
-
Actions
- Unit - Create 36 Meat Wagon for Player 12 (Brown) at (Center of Rect 006 <gen>) facing (Center of Boss 1 Fight <gen>)
- Unit Group - Add all units of (Last created unit group) to MeatWagonBoss1
- Trigger - Turn on Meat Wagon Attack Effect <gen>
-
Events
-
Meat Wagon Attack Effect
-
Events
- Time - Every 0.10 seconds of game time
-
Conditions
- (Boss1 is alive) Equal to True
-
Actions
- Unit - Order (Random unit from MeatWagonBoss1) to Attack Ground (Random point in Boss 1 Fight <gen>)
-
Events
-
Meat Wagon Attack Stop
-
Events
- Time - BloodBarrageTimer expires
- Conditions
-
Actions
- Unit Group - Pick every unit in MeatWagonBoss1 and do (Unit - Remove (Picked unit) from the game)
-
Events
EDIT: Now the trigger is right.
Last edited: