I have added a new script function getPlayer() which replaces the current method of defining a player number by specifying it in the VLO file. You call getPlayer() once in your CALL_GAMEINIT event (and only there) to pick up your player number, and there is no longer any need for maintaining eight copies of the same AI script.
This work is not done yet, and I will describe in more detail how to adapt AIs to this new system when it is completed.
There is also another new scripting function added lately - scavengersActive(), which returns a boolean telling you whether there are active scavengers on this map. I used this to reimplement the scavenger AI loading as well. Scavengers in trunk are now active again - very active. (I will probably have to tone them down a bit, or Zarel will go all out of balance on me
I also fixed the skDoResearch() function so that allies will not be researching the same techs, and made sure that the CALL_RESEARCHCOMPLETED trigger gets sent correctly when allies send you research and the 'work harder' cheat is used.
Note that all of these change are trunk only at the moment.





