hey, i need some triggering help! i want to make it so when a unit is invisible, (permanent invisibilty, to be precise) it does not attack when a unit when it comes in range...similar to windwalk, where the bm is invisible, but does not attack anything in range. Anyone know how to do this?
hm... the solution might be that u use a triggers and set the aquisition range of the unit to 0.
something like:
EVENT: Unit - a unit beginns casting an ability [your invisibility]
COND: - casting unit is ..... [the units u want to change]
- ability being cast equal to [your invisibility]
ACTION: unit - set acquisition range of casting unit to 0
EDITED: or simply: if its permanent as u said - just set the acuisition range of the unit to 0 in object editor.
you can copy your unit which becomes invisible in object editor (to distingish them do another editor prefix) and this copied unit gets no attacks (disable both). And then kinda that:
Unit - A unit Begins casting an ability
(Ability being cast) Equal to *your invisibility*
Unit - Replace (Casting unit) with a *copied unit* using The old unit's life and mana
But this only works if u have no triggers or vars on the old unit....
Another idea:
Perhaps u can create a new spell based on windwalk only with 0 in duration (for endless dur)....
hm, if this doesnt work, i have no other ideas yet