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.
[06:27 pm]
Symmetry -- Someday I'll be able to afford a glowing name :(
[06:00 pm]
Symmetry -- 120 today. Apparently my luck is better when people take my box
[06:35 am]
RIVE -- baller shit
[03:19 am]
Symmetry -- I got 100 tho we cool
[03:18 am]
Symmetry -- ugh inferno took my boxx and moose took my backup
[09:04 pm]
NudeRaider -- Heinermann
Heinermann shouted: who decided "we're not necessarily anti-bot"? It's worse than spam, it's social engineering to trick people into believing that they are legitimate and get them to click their links
I think moose made the rules
[08:33 pm]
NimoStar -- Is UndeadStar like an undead version of me?
[2026-11-13. : 5:51 pm]
UndeadStar -- Symmetry
Symmetry shouted: kinda looks like we need to auto ban all new accounts with 3 numbers at the end lmao
Members Online: UndeadStar, FranciBizjak898, LukaNovak271, GesineFalkenthal863, AjdaSkubic907, JonasAlthaus047, LukasWeigel655
[2026-11-13. : 5:13 pm]
lil-Inferno -- SEN literally had a butlerian jihad before and now he talmbout we aren't anti-bot? 🤨
Please log in to shout.


Members Online: Moose