| 03-15-2004, 10:05 AM | #1 |
Hi. Is there any way of letting the computer player execute the default melee ai scripts in a custom map? Even with town hall and peons given, gold mine nearby and starting resources set, he won't do a thing. |
| 03-15-2004, 10:55 AM | #2 |
As long as you dont mess with the map initialization triggers, the melee ai scripts should run. if you have messed with them, load up a new map and copy initialization folder into your map. if you want to be selective, use the trigger event - map init. action - melee game-run melee ai scripts (for computer players) |
| 03-15-2004, 11:15 AM | #3 | |
Quote:
Melee Game - Create Human starting units for Player 5 (Yellow) at (Player 5 (Yellow) start location) (Include Heroes) Melee Game - Set starting resources (for all players) Melee Game - Run melee AI scripts (for computer players) Player 5 has a gold mine located near to his start location. The units appear, but they don't do anything. |
| 03-15-2004, 11:29 AM | #4 |
gotta be a stupid question but i have to ask. are you setting player 5 to a computer player, either in the player options in the editor or in the game launch screen? id double and triple check that, and make sure once again that your Event for those triggers is map initialization. if that still doesnt work, there are known bugs with the event map init so try modifying the event to time elapsed equal to 1 second and see if that helps. |
| 03-15-2004, 03:05 PM | #5 | |
Quote:
-- edit: Okay, sorry - it was the Player Properties. When launching the map in Frozen Throne (Custom Game) it works. Thx again :) |
