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.
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[2026-5-31. : 3:20 pm]
l)ark_ssj9kevin -- le reddit
Please log in to shout.


Members Online: Dem0n, jun3hong