| 12-12-2004, 05:22 PM | #1 |
Hi im a noob so please help me. I want to make a trigger so that when i start the map the Ai should be startet, just the normal Ai, but it should not apply to player 1 and 2 they should't get Ai... What to do..? o_O I know the trigger that set Ai up in the start of the map(the one that already are in the map) But i would like it NOT to apply to PLayer 1 RED and 2 BLUE... |
| 12-12-2004, 09:07 PM | #2 |
No one can help me... |
| 12-13-2004, 02:18 PM | #3 |
iirc there is an action start melee AI for player. |
| 12-14-2004, 12:57 PM | #4 | |
Quote:
|
| 12-14-2004, 04:59 PM | #5 |
Guest | if you look at AI: Start Melee Script(or Campaign) it has the option for which player to apply it to, so i think that the trigger would be Event : Map Installation Action: AI - Start melee AI script for Player 3 (teal): (script name) and go on from there, or if its a campaign, Event : Map Installation Action: AI - Start Campaign AI script for Player 3 (teal): (script name) and go on from there, thats what i would use |
| 12-15-2004, 01:55 PM | #6 |
The script names are: elf.ai human.ai orc.ai undead.ai |
| 12-15-2004, 02:14 PM | #7 | |
Quote:
Then, loop through players 3-12, and for each player: - Check the race of the picked player, and depending on it, start one of the following AIs (with AI - Start Melee AI): Scripts/orc.ai Scripts/elf.ai Scripts/human.ai Scripts/undead.ai Of course, you should also check if the player slot is used, etc. before starting the script. Pretty straightforward, no? |
