Hi AntiSocial! Thank you for your reply. Really I am so stuck and frustrated, I am so happy someone replies!
I don't feel confident with scripting at all so I'll explain it as best as I can (the english language is not my native language):
- I start up
WorldBuilder.
- I go to "Edit -> Add Skirmish Players".
- Then "Edit -> Scripts... -> Import Scripts... -> choose SkirmishScripts.scb".
- I deleted every script in that script.
So from now on, the AI players are dumb.
Time to make them smart again so we can play against them on all the official maps.
- I choose to start with USA AirForceGeneral.
- I implement a basic script to get started:
Code:
*** IF ***
800 is Less Than or Equal the number of credits possessed by Player '<This Player>'
*AND* Player '<This Player>' has Equal To 0 unit or structure of type 'AirF_AmericaPowerPlant'
*** THEN ***
Build a building of type 'AirF_AmericaPowerPlant'
So far so good. I am sure I can instruct the AI to build the supplycenter and barracks as well.
But what do I need to do to make the AI driven general to make a 2nd Dozer at same time the 1st (default) Dozer is building the power?
Most likely, if I know how to build Dozers from a (specific) Command Center, I will know how to create fighters from a specific airfield as well!
Nevertheless I asked these questions explicitly because I might be surprised.
So in the end, I want to see this when I test the new SkirmishScripts.scb:
- I start up a skirmish or a multiplayer game.
- I choose USA AFG as my opponent.
- My opponent builds a Power with default (1st) Dozer.
- My opponent builds a 2nd Dozer.
- My opponent uses 2nd Dozer to build Barracks, because 1st dozer still builds power.
That's basically the scenario.
Merry Christmas sir

- Val -