HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unattacking Units

07-29-2004, 03:12 AM#1
htek
OK, the target this time is a unit with spells, and the ability to attack - the attack specifications are custom, BUT - these must NOT attack unless specifically ordered to. I don't want to make a projectile spell , but well... how would i go about acheiving this?

cheers,


htek
07-29-2004, 04:01 AM#2
th15
You could try setting a boolean variable. This boolean variable should control if a unit can "acquire a target" i.e. if the boolean is false, the unit is ordered to sotp each time it acquires a target (specific unit event). Then you could have another trigger that temporarily sets this boolen to true and orders the unit to attack.

The much simpler way would be to make the player owning the unit treat enemies as nuetral. But this method has its own limitations.
07-29-2004, 01:04 PM#3
htek
well the go is this: i want to make a TYPE of unit [i.e. you can build/kill these units and the effect will still work] and have it with an attack, permanent invisibility, ensnare and shadow strike [or similar spells. i'm also considering something like a modded frost nova to do heaps of blast damage but NO blast radius i.e. something like firebolt with no projectile].

however, if it attacks, it will evidently ruin the ambushes possible with this unit...

i'm not sure a boolean variable will work here...