could some one please heolp i am tryin to make a script that when i build a super weapon the ai will uild one to, but every time i think i am doin it right and i test it the ai just wont do notin at all
please help
ai help
Started by
Guest_dai_*
, May 04 2004 04:28 PM
1 reply to this topic
#1 Guest_dai_*
Posted 04 May 2004 - 04:28 PM
#2
Posted 05 May 2004 - 08:11 AM
That sounds easy. Use this logic:
**IF**
Player <This Player's Enemy> has Greater Than Or Equal To '1' unit or structure of type 'Super Weapons'
**THEN**
(either set a flag to true so we can test if it is and then build the SW)
Set flag named 'EnemyHasSuperweapon' to TRUE
(or immediately build the superweapon)
Build a building of type '<superweapon here>'
Ya get what I mean?
**IF**
Player <This Player's Enemy> has Greater Than Or Equal To '1' unit or structure of type 'Super Weapons'
**THEN**
(either set a flag to true so we can test if it is and then build the SW)
Set flag named 'EnemyHasSuperweapon' to TRUE
(or immediately build the superweapon)
Build a building of type '<superweapon here>'
Ya get what I mean?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users