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.
[01:21 pm]
@:@ -- this community still going strong?
[04:30 pm]
Oh_Man -- yeah, probs
[03:11 pm]
NudeRaider -- I bet it just needs another training session against pros instead of only against itself and nobody will be able to stop it anymore.
[03:09 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
so it can be beaten by a prepared pro, even in macro games, if only barely. the muta micro in particular seems really hard to handle for protoss ground though. In the open goons can't catch them, in the base they trip over buildings, it just instantly flies out of storms and they fly circles around archons. Mass cannons do work, but can't cover the whole map with it. Probably need mass corsair to counter and hope you can outmaneuver all the scourge.
[2026-9-27. : 2:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
[2026-9-27. : 1:14 am]
Symmetry -- https://staredit.net/topic/18932/ check it
[2026-9-25. : 2:22 pm]
Oh_Man -- https://youtu.be/Lfo4C0xzU04
[2026-9-25. : 12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[2026-9-24. : 11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[2026-9-24. : 10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
Please log in to shout.


Members Online: @:@