HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Uncommandable summons, D2 Druid style.

12-16-2003, 01:33 AM#1
MaliceDR
I know Grater made a map that mimicked the D2 Necromancer's system of uncommandable summons, but what I need is a little different, plus I took a look at that map and was confused by the whole thing (guess I just wasn't in a thinking mood at the time).

In my upcoming map I have a hero that can summon spirits to aid allied troops. Like the Druid's spirits in D2, these summoned units cannot attack and do pretty much nothing. Their purpose is to provide an aura to assist nearby allies. Aside form that they just float around.

They would follow my hero around, but when not trying to keep up with him they'd kind of move about curiously, not straying too far from their master. They would pretty much ignore allied troops, but prefer to shy away from hostile ones. There is a bit of a delay however, so enemy units who suddenly acquire the spirit from outside it's "enemy detection range" can still come in and kill it without it slipping away, but the spirit wouldn't be any higher a priority than the hero or his allies.

I know I can make them uncommandable by giving them to a computer-controlled ally, and since they can't kill anything it wouldn't really matter who owns them, but how would I get them to behave this way? I know next to nothing about programing AI.
12-16-2003, 04:16 AM#2
BBDino
hmmmmm, maybe a modified version of locust swarm might work, depends if units with unknown (Aloc) can still be killed (if they cant you could use the spell as a pretty temporary aura soemwhere else. Because my thought is if you set locust to summon 1 of these aura spirits it will wander, stay close, be uncontroled. and also probably be rather aesthetically appealing to boot.

Just an option, if its doesnt suit ya needs im sure someone else can help you.
12-16-2003, 04:21 AM#3
AIAndy
I think Grater used the ability Aloc followed by a chaos ability to make them unselectable but still targetable.
To make them move around the way you describe you will need several triggers that issue direct orders to the spirits.
12-16-2003, 04:59 AM#4
MaliceDR
I still want them to be selectable, but uncommandable. I figured out a simple way to do this too: give them to a computer-controled ally. Shwa. Since they do nothing but provide auras anyway, so it doesn't really matter exactly who they belong to as long as they do what their AI tells them to.
12-16-2003, 03:02 PM#5
Vexorian
This is my way to do that stuff:

Alternative Diablo II summons
12-21-2003, 05:20 AM#6
dataangel
There's a function in the JASS vault for this:

http://kattana.users.whitehat.dk/viewfunc.php?id=83