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.
[05:45 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: unless you're a euro weirdo
seems plausible: [01:55 am] dumbducky -- real dad hours who up
[02:45 am]
Ultraviolet -- unless you're a euro weirdo
[02:45 am]
Ultraviolet -- "[08:55 pm] dumbducky -- real dad hours who up" better question, who's already down at 8:55pm?
[12:55 am]
dumbducky -- real dad hours who up
[07:17 pm]
NudeRaider -- why not both?
[07:09 pm]
Zoan -- sc1 or sc2
[02:06 pm]
lil-Inferno -- hi im new to this site how do i make maps
[09:06 am]
Zycorax -- :wob:
[2026-6-14. : 11:31 pm]
Ultraviolet -- :wob:
[2026-6-13. : 3:10 pm]
lil-Inferno -- :wob:
Please log in to shout.


Members Online: NudeRaider