Spellcasters
Mar 18 2014, 2:58 pm
By: ComeAtMeBro  

Mar 18 2014, 2:58 pm ComeAtMeBro Post #1



I have a micro map I made where I have the campaign AI script turned on so the computer storms my marines better. However, the computer's Medics are always wondering around the map when I want them to stay still. Is there anyway to make it so the computer's Medics don't run across the map but stay where they are supposed too?



None.

Mar 18 2014, 3:02 pm Roy Post #2

An artist's depiction of an Extended Unit Death

You could give them to a separate, allied computer player that has no AI script running. They will heal allied units.




Mar 18 2014, 7:33 pm ComeAtMeBro Post #3



That was a great help and fixed my problem. Thank you.



None.

Mar 19 2014, 12:14 am Azrael Post #4



I know you fixed your problem, but since Medics can be pretty unruly sometimes, I'll throw out some additional ways to manage their behavior in case someone comes across this thread while having similar difficulties.

This is mainly to address the issue where Medics may run unexpectedly far away just to try healing "nearby" allied units, especially those just passing through an area near them. There's at least two approaches for making them stop this behavior, though whether either of them are possible for you would depend on what you're trying to do in the map.

1) Make it so they can't heal.

There are a lot of ways you could potentially accomplish this, but a few examples would be: killing all allied units within a certain range of the Medics, or unallying any allied players that come within that range. It may be possible to interrupt the healing process sufficiently by continually setting the energy of all Medics to 0. You could also try distracting them with a unit next to them, which you constantly set to be below full health. Those are just some of the possibilities there.

2) Don't let them leave the area.

If they're supposed to stay in some specific area, force them to stay there. Inside a base? Move them back if they leave. Next to a unit? Move them back if they're separated. You could also try to move them directly onto water every trigger cycle, or constantly order them to move to the location they're supposed to be at. Another option is using physical barriers, such as a line of DTs or Powerups, to barricade them inside the areas they're supposed to stay in.

Glad your specific issue was resolved though. Remember this post if you run into any more issues with Medics moving around too much :P

Post has been edited 1 time(s), last time on Mar 19 2014, 10:10 pm by Azrael.




Mar 19 2014, 10:04 am Stranger Post #5



Umm..

I'll just add that units made invincible ARE being healed by Medics.

Actually, the Medic's Heal spell is the only one to affect invincible units.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03: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.
[2026-10-09. : 1:34 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:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[2026-10-09. : 1:33 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:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
Please log in to shout.


Members Online: NudeRaider, DarkenedFantasies