HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

turning off a units attack

11-22-2003, 10:33 AM#1
WeirdMusician
Is there anyway I can add some sort of ability or effect to stop a unit from being able to use its attack?
11-22-2003, 12:11 PM#2
Biflspud
Banish does that; you could just have a spell casting unit banish 'em.
11-22-2003, 02:34 PM#3
FerretDruid
Banish also has the unfortunate side effect of making the unit ethereal so it cannot BE attacked either (and.. it's ethereal).

But there is, however, a setting for Silence to disable attacking/moving/spells + something else. Check that one out.
11-22-2003, 08:58 PM#4
WeirdMusician
Well I need it to be a constant ability like permanted invisible or invulnerality
11-22-2003, 09:21 PM#5
ViruZ
do u want it as a spell or in general? anyways.. do disable an attack for a unit for good. just go to the unit editor and go to attacks and disable both attack 1 and 2
11-23-2003, 02:05 AM#6
WeirdMusician
Well what I want is a trigger to so that when I train a certain unit
it makes it add the invulnerable abilty, and I also want something to stop it from making attacks.
but I dont know what kind of ability could do that permantly?
11-23-2003, 02:42 AM#7
DarkenPride
Erm...Create an action...

Custom Script : call UnitRemoveAbilityBJ( 'Aatk', GetEnumUnit() )
11-23-2003, 03:41 AM#8
WeirdMusician
thx that worked!