Lord_Kane: Didnt Warcraft II's DOS and BNE's AI use a trigger based system? because those systems dont always work right.
yes for example
footmen = 2 ; set # Footmen
archers = 2 ; set # Archers
size_land = 5 ; set size of land attack party
wait_land ; wait until land attack parties are complete
size_land = 3 ; set size of land attack party
attk_land ; start land attack
If u see there is 5 but AI wont ever make another footman or acher, and he will stuck forever
if we change to 4
size_land = 4 ; set size of land attack party
wait_land ; wait until land attack parties are complete
size_land = 3 ; set size of land attack party
attk_land ; start land attack
AI will pick 3 random units (2 footmen +archer or 1 footman 2 achers) and will attack player, and ai will continue play till it get loop and will repeat what is wrote in loop
Loop:
size_land = 4 ; set size of land attack party
wait_land ; wait until land attack parties are complete
size_land = 2 ; set size of land attack party
attk_land ; start land attack
sleep 500
goto Loop
computer will attack player forever with 2 units, I think sleep 500 mean 500 seconds on normal speed, on fastest it can be one min
In orginal campaign human TOD mission 11, where we need destroy all transporters, yards, blizzard wrote that red need to make ogres, but red havent got ogre mound, so he will do nothing after few attacks