Using scripts in mp maps disables the standard ai.
You can build your own ai, as i did on the coop maps.
Forget player_0 to 7, it's only for transfers of units that are (preplaced) on the map. Basically player 0 is on the top in the gamehosting lobby list, player 7 is the 8th one all the way down. Irrelevant of the map positions you choose. When using those, make sure that your players come in the game in the correct order, and pick the right map positions. If it matters.
For Ai in mp u can use the standard Russia, germany, allies.
Choose what side u want your AI to be on. Then put all the scripting for it under that side. In game, make sure to include the side u choose as an AI. It will only spawn a CC, nothing else. You can locate it off-map.
If you want to transfer to the ai, just make a new fake player, called transferai or whatever, name all the units u want to that team, then write a script to transfer from player transferai to plrRussia or whatever. You can also just place everything using scripts.
For spawning stuff to the ai u need to make teams under your chosen side. Like for plyRussia u make team tank1 with a t-34 1 1 in it. Then write a script to spawn it and make it do stuff.
Like for just placement, you write: spawn unit tank1 on team plyRussia on spot X. Of course u need to make a waypoint named X on the map first.
For behaviour you do like: spawn unit tank1 on team plyrRussia on spot X. Have tank1 move along waypoint pathway.
You can spawn multiple instances of a team but you will have to repeat the command u give them each time.
You can spawn teams off-map, so it appears they ride in. Just make sure they are within SkirmishWorld.
Maybe you already know all of this.
I made a random generator to make random teams continually spawn from randomly chosen different directions with different pathways, at random times.
If you need an example map, holler and i send one over, via msn.
Don't listen to raptor
This post has been edited by DirtyHarry: 17 July 2010 - 03:07 PM