| 01-10-2003, 11:00 PM | #1 |
Guest | I would like to write a traditional "capture the flag" for warcraft. This is easily done for human vs human games, but I don't know where to start to get the computer player to understand it should get the flag, and then take it somewhere. To my advantage, I can use any item as the flag, and I can display destinations as circles of power (further, they can be defined in a region for the computer player(s) to refer to). The goal is simple, as far as changing the computer player's behavior goes. Any ideas? Much thanks, RobC |
| 01-11-2003, 12:26 PM | #2 |
You could begin by using triggers to order a unit of the computer to move to the flag position when it comes within a certain range of the flag. Then when it has the flag, order it to move to the circle. Of course that will not make him launching an attack on the flag position or defend his own flag. The best solution to this is changing the .ai files. For information on that look in the AI/JASS forum. That is also the right place to ask further questions on that topic. |
