- Joined
- May 10, 2011
- Messages
- 9
So, for my map every computer player needs to run the meele AI except for two.
In any case, if you could help me get the melee AI for all bots but player 11 and 12 working, I'd be very grateful.
Note: Prior to the melee AI function the following happens is done:
It activates at the map initialization when the player is controlled by a computer and only takes a look at players 1-10
- Melee Game - Run melee AI scripts (for computer players)
- AI - Start melee AI script for Player: map.ai
In any case, if you could help me get the melee AI for all bots but player 11 and 12 working, I'd be very grateful.
Note: Prior to the melee AI function the following happens is done:
It activates at the map initialization when the player is controlled by a computer and only takes a look at players 1-10
- Set tempGroup = (Units owned by Player)
- Unit Group - Pick every unit in tempGroup and do (Unit - Remove (Picked unit) from the game)
- Custom script: call DestroyGroup( udg_tempGroup )
- Set tempPoint = (Player start location)
- Melee Game - Create (Race of Player) starting units for Player at tempPoint (Include Heroes)
- Melee Game - Set starting resources (for all players)
- Custom script: call RemoveLocation( udg_tempPoint )