Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Is there a way to enable AI players to support allies
Is there a way to enable AI players to support allies
Jan 17 2026, 4:26 pm
By: Zergxhx  

Jan 17 2026, 4:26 pm Zergxhx Post #1



In Top vs Bottom mode, computer players will respond to allies who are under attack, but in UMS mode, the AI will not provide any support to allies at all. Is there any way to make the AI send units to support allies like in TVB



None.

Jan 18 2026, 5:40 pm Ultraviolet Post #2

We do a little trolling

In UMS, computers will only run their AI scripts if explicitly told to with triggers. If you run one of those scripts then they should behave more normally.



My Projects:

Impossible Ultraviolet | Impossible UV 2 | Impossible UV 3
Mercenaries 2020 | Mercenaries III
Squad Defense

Legacy Projects (No guarantee of functionality in modern SC):

Pixel Adventure 2 | Space Snipers | Control the Ball

______________________________________________

Join me in Torn City

Jan 20 2026, 4:17 pm IlyaSnopchenko Post #3

The Curious

If you're running unmodded, there's a script that you should run for the AI player that should be defended, and in theory the allies of that player might provide help.
It's called "Brood Wars Zerg 1 - Town F". It contains the "help_iftrouble()" command that should help.



Trial and error... mostly error.

Apr 9 2026, 11:15 pm Heinermann Post #4

memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes

I don't think help_iftrouble will work for human players.

If you're trying to coerce the AI to do things in UMS, if it's not just a melee style UMS you can force the AI to defend certain areas by running scripts at different locations or making them build bases in the middle of nowhere by placing start locations there, each unique start location will be marked as a base location for the computer. If using EUDs or modding you can try placing hidden structures that the AI will "defend". You can also use a second scriptless computer player of the same colour to take control of some of their units to help you out with triggers.




Apr 11 2026, 7:17 am Nekron Post #5



To achieve this effect I'd generally spam ai value area higher around a players' base in UMS but that's not super useful for the original top vs bottom question




May 1 2026, 1:58 pm IlyaSnopchenko Post #6

The Curious

Quote from Heinermann
I don't think help_iftrouble will work for human players.

If you're trying to coerce the AI to do things in UMS, if it's not just a melee style UMS you can force the AI to defend certain areas by running scripts at different locations or making them build bases in the middle of nowhere by placing start locations there, each unique start location will be marked as a base location for the computer. If using EUDs or modding you can try placing hidden structures that the AI will "defend". You can also use a second scriptless computer player of the same colour to take control of some of their units to help you out with triggers.
Uh, yes, I wasn't aware of the player in question being a human one (the OP wasn't specific in that regard).
Other than that, "Value Area Higher" can probably help but like Nekron said, it's not super efficient.



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.
[12:17 pm]
Zakerozi -- Dfk is going on here :D
[03:47 am]
Symmetry -- kinda looks like we need to auto ban all new accounts with 3 numbers at the end lmao
[12:56 am]
Heinermann -- who decided "we're not necessarily anti-bot"? It's worse than spam, it's social engineering to trick people into believing that they are legitimate and get them to click their links
[06:04 pm]
NudeRaider -- ihjel
ihjel shouted: "Use Display Text Message or the in-game Leaderboard to output the live values of critical Death Counters." that would be so convenient wouldn't it.
ihjel
ihjel shouted: "Use Display Text Message or the in-game Leaderboard to output the live values of critical Death Counters." that would be so convenient wouldn't it.
it's rather inconvenient actually, as it requires you to transfer it to Custom Score which might even interfere with what you're measuring. But IIRC you can also use EUDs to display it which by now could actually be somewhat convenient.
[2026-11-11. : 9:25 pm]
ihjel -- "Use Display Text Message or the in-game Leaderboard to output the live values of critical Death Counters." that would be so convenient wouldn't it.
[2026-11-11. : 6:59 pm]
Symmetry -- I just pasted what google ai told me to try to form a feedback loop
[2026-11-11. : 1:24 pm]
NudeRaider -- UndeadStar
UndeadStar shouted: https://staredit.net/topic/18961/ <= wow, if there wasn't a capital letter on almost every word in the title, and a link in the signature, I may not have guesses it's an AI bot. I don't know much about map editing, but the content may even be relevant enough to be kept.
Yeah, I've noticed it, but it raised a couple of relevant questions and kept the ad to the signature so if someone were to engage with the topic it could be a net positive which is why I kept it. We're not necessarily anti-bot, just anti-spam. Thanks to Symmetry who realized my hope. :)
[2026-11-11. : 8:09 am]
Zycorax -- Greed
[2026-11-11. : 3:25 am]
Symmetry -- why do the oligarchs want our mapping strategies???
Please log in to shout.


Members Online: DezjanKranjc829