Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Computer Repair Buildings
Computer Repair Buildings
Dec 3 2007, 4:11 pm
By: Maian  

Dec 3 2007, 4:11 pm Maian Post #1



Basically, in my map, I want a couple of SCVs (owned by the computer) to repair a couple of bunkers that are getting attacked. I'm just not sure what the correct AI script would be for it.

If it matters, I have all buildings and units 'Disabled by default' so that a trigger won't cause a computer to create units.



None.

Dec 3 2007, 6:29 pm Saox Post #2



From maplantis.org :


"An SCV may repair damage to a Terran mechanical unit or Terran building for part of the unit's base resource costs and time costs.
Computer Use:
The computer will repair his damaged units when a melee AI Script is running.
They won't repair allied units, hero units, or SCVs."

Which means: you can't force a direct order to repair a specific unit at location X(unfortunetly, this would make map making much better =). Experiment with the few AI's given, maybe some of them work the way you want them to? For example, right after firing the AI the SCV will repair the unit.



None.

Dec 3 2007, 11:25 pm Falkoner Post #3



In Storm the Fort they use the AI "Terran 1 - Shareware" And that seems to make them mine minerals, repair any nearby injured mechs and bunkers, and basically just do SCV stuff.



None.

Dec 4 2007, 7:40 pm Maian Post #4



Awesome, that's pretty much what I was lookin' for. Right now I've been running one of the "Custom Level" AI's for Terran, and those don't work. I was just trying to remember if there was one of the scripts where all they do is mine minerals and repair buildings. But yea, I'll give that Terran 1 - Shareware AI a try.



None.

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