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.
[10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[08:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
[2026-9-23. : 10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
[2026-9-23. : 2:30 am]
Symmetry -- I dreamed about that as a kid. The idea of a computer capable of analyzing a starcraft map and calculating the fastest possible way to hit the victory condition
[2026-9-23. : 2:29 am]
Symmetry -- But can AI beat my custom maps?
[2026-9-22. : 12:32 pm]
Oh_Man -- yea APM vs eAPM
Please log in to shout.


Members Online: Oh_Man