- Joined
- Sep 12, 2006
- Messages
- 31
Someone could help me optimizing triggers in my map and cleaning leaks.
My trigers for waves of enemy are like this:
Wave1
Thanks to ones who reply and help.
My trigers for waves of enemy are like this:
Wave1
- Time - Elapsed game time is 65.00 seconds
- Unit - Create 28 Ghoul for Neutral Hostile at (Center of Evil Gate Area <gen>) facing Default building facing degrees
- Unit - Create 1 Libertadores for Neutral Hostile at (Center of Evil Gate Area <gen>) facing Default building facing degrees
- Unit - Create 12 Nelfamide for Neutral Hostile at (Random point in videno <gen>) facing Default building facing degrees
- Game - Display to (All players) the text: First Wave: Ghoul G...
- Wait 45.00 seconds
- Unit - Create 26 Ghoul for Neutral Hostile at (Center of Evil Gate Area <gen>) facing Default building facing degrees
- Unit - Create 15 Nelfamide for Neutral Hostile at (Random point in videno <gen>) facing Default building facing degrees
- Unit - Create 2 Libertadores for Neutral Hostile at (Center of Evil Gate Area <gen>) facing Default building facing degrees
- Wait 41.00 seconds
- Unit - Create 28 Ghoul for Neutral Hostile at (Center of Evil Gate Area <gen>) facing Default building facing degrees
- Unit - Create 1 Death Knight for Neutral Hostile at (Center of Evil Gate Area <gen>) facing Default building facing degree
- Trigger - Turn off (This trigger)
- Unit - A unit owned by Neutral Hostile Dies
- (Unit-type of (Triggering unit)) Equal to Death Knight
- Player Group - Pick every player in (All players controlled by a User player) and do (Player - Add ((9000 / Kills[(Player number of (Picked player))]) + 100) to (Picked player) Current gold)
- Game - Display to (All players) the text: 2nd Wave Approachin...
- Wait 22.00 seconds
- Unit - Create 34 Serpentino for Neutral Hostile at (Center of Evil Gate Area <gen>) facing Default building facing degrees
- Unit - Create 2 Mountain Giant for Neutral Hostile at (Center of Evil Gate Area <gen>) facing Default building facing degrees
- Unit - Create 12 Nelfamide for Neutral Hostile at (Random point in videno <gen>) facing Default building facing degrees
- Unit - Create 6 Libertadores for Neutral Hostile at (Center of Evil Gate Area <gen>) facing Default building facing degrees
- Wait 41.00 seconds
- Unit - Create 33 Serpentino for Neutral Hostile at (Center of Evil Gate Area <gen>) facing Default building facing degrees
- Unit - Create 4 Samaritan for Neutral Hostile at (Center of Evil Gate Area <gen>) facing Default building facing degrees
- Unit - Create 1 Lich for Neutral Hostile at (Center of Evil Gate Area <gen>) facing Default building facing degrees
- Trigger - Turn off (This trigger)
Thanks to ones who reply and help.