- Joined
- Apr 5, 2013
- Messages
- 154
I'm making a tower defense-esque map where you send your units to fight the AI's units headlong on a long road. But whenever the units are done fighting on the road, they stop moving towards the enemy's base and go back to their spawn location. Here's the script
-
Game Start
-
Events
- Map initialization
- Conditions
-
Actions
- AI - Ignore the guard positions of all Player 5 (Yellow) units
- AI - Ignore the guard positions of all Player 6 (Orange) units
- AI - Ignore the guard positions of all Player 7 (Green) units
- AI - Ignore the guard positions of all Player 8 (Pink) units
- AI - Ignore the guard positions of all Player 9 (Gray) units
- AI - Ignore the guard positions of all Player 9 (Gray) units
- Wait 5.00 seconds
- -------- WAVE 1 --------
- Game - Display to (All players) the text: |c001CE6B9Wave 1: S...
- Wait 5.00 seconds
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
- Unit - Create 1 Satyr Swine for Player 9 (Gray) at (Center of Region 015 <gen>) facing Default building facing degrees
- Unit - Order (Last created unit) to Attack-Move To (Center of EnemyAttackZone <gen>)
- Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Other\Monsoon\MonsoonBoltTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Create 1 Wolf Pup for Player 9 (Gray) at (Center of Region 016 <gen>) facing Default building facing degrees
- Unit - Order (Last created unit) to Attack-Move To (Center of EnemyAttackZone <gen>)
- Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Other\Monsoon\MonsoonBoltTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 2.00 seconds
- Unit - Create 1 Satyr Swine for Player 9 (Gray) at (Center of Region 016 <gen>) facing Default building facing degrees
- Unit - Order (Last created unit) to Attack-Move To (Center of EnemyAttackZone <gen>)
- Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Other\Monsoon\MonsoonBoltTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Create 1 Wolf Pup for Player 9 (Gray) at (Center of Region 015 <gen>) facing Default building facing degrees
- Unit - Order (Last created unit) to Attack-Move To (Center of EnemyAttackZone <gen>)
- Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Other\Monsoon\MonsoonBoltTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Wait 2.00 seconds
-
Loop - Actions
-
Events