Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Forcing AI to build in specific locations.
Forcing AI to build in specific locations.
May 11 2024, 2:23 pm
By: SPyro_Malin  

May 11 2024, 2:23 pm SPyro_Malin Post #1



So I am trying to make an ally who will take forward positions as the game progresses and maintains them. Some defenses and basic buildings and specific locations.
I tried to preplace the buildings, run AI scripts and destroy them to see if the AI will take the positions back, but I couldn't find AI which actually rebuilds lost buildings.

Do any of you know an AI that can do so or some kind of trick to make AI build specific buildings in specific locations?

I am aiming for natural feeling, with it being actually built and needing protection during this time + AI rebuilding it with time when destroyed. I can make it with triggers, but it will be time consuming and simply ugly.



None.

May 12 2024, 8:00 am IlyaSnopchenko Post #2

The Curious

You will need to resort to modding, using the AISE plugin to create townlets like that on specified locations with the `create_script` command. If you do, this can be made to happen pretty fluidly.



Trial and error... mostly error.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04: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
[2026-5-31. : 2:55 pm]
Moose -- >reddit :rip2:
[2026-5-31. : 2:07 pm]
IskatuMesk -- reddit 💀
Please log in to shout.


Members Online: Zycorax, RIVE