| 08-06-2003, 12:34 PM | #1 |
Making a micro duel map. This time with good scripting (all the maps I've seen are total crap). One problem I'm currently trying to tackle is the computer AI. When a player leaves the game, I want the AI to take over. And not play like a total newbie. How do do that? I've tried running an AI script, but that only works when I put the player slot in computer mode before the game starts. Anybody have any suggestion? |
| 08-06-2003, 01:26 PM | #2 |
SetPlayerController does the trick. And I thought Bliz put all useful functions into actions in the GUI :( Oh well... |
| 08-06-2003, 03:24 PM | #3 |
It doesn't make AI scripts work though. That really sucks. I want the computer to spend skill points, use spells and abilities. The easiest way to do that, is use an AI script. Is there function that sets the slot state to playing? Cuz that's not happening. If you add in a computer before loading the map, it says the slot is playing. If you set a player control to the computer, it will say the slot is unused. I'm guessing there's a link... |
| 08-11-2003, 12:21 PM | #4 |
I'm not even sure it is possible. I suggest u to just give the units to another player. |
