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.
[04:59 am]
zsnakezz -- >:)
[04:59 am]
zsnakezz -- :)
[04:58 am]
zsnakezz -- somebody gets it
[04:58 am]
zsnakezz -- and its not all just numbers in my file screen
[04:57 am]
zsnakezz -- thank you for your comment though, good to know some people out there tried my map out
[04:57 am]
zsnakezz -- just kidding
[04:57 am]
zsnakezz -- ultra you have any thought or notes on undead invasion?
[2024-5-31. : 2:36 pm]
Wing Zero -- Bop em
[2024-5-31. : 2:36 pm]
Wing Zero -- Mods
[2024-5-29. : 9:40 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: monkas, RIVE, Roy