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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Ultraviolet