Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: How to make AI do what I want?
How to make AI do what I want?
Mar 13 2010, 1:54 pm
By: oOldXman222  

Mar 13 2010, 1:54 pm oOldXman222 Post #1



Hi! I have three questions, please be descriptive.

1. Is there any way to make Computer build this building or unit that I want him to build? If yes how?
2. Is there any way to make him build something when I want? If yes how?
3. Is there any way to make him build something where I want? If yes how?



None.

Mar 13 2010, 3:49 pm ImagoDeo Post #2



Yes to all, but only in a roundabout sort of way. You cannot directly manipulate AIs and tell them what to do. What you CAN do, however, is make your own AI via triggering.

It's a little too complicated to go into detail here, but you should take a look at this for examples. Essentially, you detect certain conditions based on the computer's resources, deaths, etc. and then subtract resources and create a unit based on a death count timer. A greatly simplified version of what laffo16 did in his ZvT map would probably accomplish all three of your goals.



None.

Mar 13 2010, 9:09 pm oOldXman222 Post #3



Thanks!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:22 am]
Symmetry -- because there's also Starforge 2 and chkdraft
[03:22 am]
Symmetry -- oh that's the one that was linked
[03:22 am]
Symmetry -- https://scmjs.dev/editor/ in browser editor that came out this year too :hurr:
[03:20 am]
Symmetry -- that's not even all
[12:06 am]
Vrael -- Did I misplace a 0 or something? Is it actually 2006 right now?
[11:05 pm]
ihjel -- At least two; MindArchon released one aswell https://staredit.net/topic/18926/
[10:52 pm]
Vrael -- Whoa cool a new map editor in the year *checks notes* 2026?
[2026-11-06. : 2:16 pm]
ihjel -- A whole army of vacuum cleaners have signed up for the wiki
[2026-11-06. : 11:00 am]
UndeadStar -- I want to commend bots for finally finding the Introductions subforum. But those huge blocks of text sometimes interrupted by a link? That's a regression compared to the other bots.
[2026-11-05. : 6:38 pm]
*l)ark_ssj9kevin ********
Please log in to shout.


Members Online: UndeadStar