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.
[03:21 pm]
lil-Inferno -- POOPY!!!! PEEPEE!!!!!!! BALLSACK!!!!!!!!!!!!!
[12:50 am]
O)FaRTy1billion[MM] -- ya
[2026-10-14. : 3:20 am]
Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
[2026-10-11. : 6:02 am]
Donald -- Samase
[2026-10-09. : 2:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[2026-10-09. : 2:47 am]
Symmetry -- I'll check it out this weekend!
[2026-10-09. : 2:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[2026-10-09. : 2:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[2026-10-09. : 1:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
Please log in to shout.


Members Online: DarkenedFantasies, Roy