Staredit Network > Forums > Modding Discussion > Topic: Using triggers to strengthen AIs?
Using triggers to strengthen AIs?
Dec 12 2008, 6:46 pm
By: Biophysicist  

Dec 12 2008, 6:46 pm Biophysicist Post #1



I had an idea to make the AIs stronger. I could be entirely wrong about this, in which case ignore this.

What I was thinking is: Couldn't you code the AI so that it will build a certain building/unit with a very high priority (especially Supply Depots/Pylons/Overlords) when it has a certain unit? If so, you could set it so that it does so if it has a special unit it couldn't obtain normally (eg. a Mineral Field), and use a trigger to create that unit for the computer player? Then you have a much greater degree of control over the AI's actions. Am I right, or am I stupid?



None.

Dec 12 2008, 8:47 pm poiuy_qwert Post #2

PyMS and ProTRG developer

Yes this works and has been done. It also works the other way around using the AI script's create_unit command detected by triggers.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
[2026-4-13. : 3:31 pm]
Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
[2026-4-13. : 3:30 pm]
Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
[2026-4-13. : 2:13 pm]
NudeRaider -- bro I don't go anywhere without my phone to record anything significant
[2026-4-13. : 1:28 pm]
Vrael -- Zoan
Zoan shouted: not if u wer there
id say even if you were there its tricky, human memory can be very faulty
Please log in to shout.


Members Online: Ojan