ok yall have seen that i am a newbie @ ai scripts. i need more help. Well here it goes...how do i make the computer make like 20 units and then stop making them and then make something else. or better yet, how can you make the computer build like a house, barracks, champions,camels, and tutonic knights all at the same time. (ex.) instead of the computer making all these houses and then making a building and then making units and then makeing etc. How do i make the computer do all that stuff at the same time. (ex.) the computer makes a few houses then a castle and then some more houses and some barracks at the same time of building of houses.
if this really confuses u look at my ai script...
(defrule (defrule (defrule (defrule (defrule Please help me!!!!!!! [This message has been edited by vegeta9533 (edited 06-25-2001 @ 07:57 PM).]
(defrule
(wood-amount greater-than 500)
=>
(build barracks)
(disable-self)
)
(gold-amount less-than 99999)
=>
(train champion)
)
(gold-amount less-than 99999)
=>
(train camel)
)
(wood-amount greater-than 50)
=>
(build house)
)
(wood-amount less-than 99999)
=>
(train mameluke)
)
(wood-amount greater-than 700)
=>
(build stable)
(disable-self)
)