Hello.
I am working with a custom buff system in my map and I want to have it so a particular buff reveals invisible enemies that have it placed on them.
Functionally, it is the same as the faerie fire ability with some extra custom effects on it. I could make a dummy cast the faerie fire spell on them, but it will look a bit ugly with my custom buff system (it will show 2 buffs and purging the buff will not be as straight forward).
I am currently doing something like this:
This shares what the unit sees with me, but it does not reveal the unit if it is invisible.
Is there a different function I can use that does what I want? If not, I will try to throw something together with the faerie fire spell, but I'd rather do that as a last resort.
Thanks in advance!
I am working with a custom buff system in my map and I want to have it so a particular buff reveals invisible enemies that have it placed on them.
Functionally, it is the same as the faerie fire ability with some extra custom effects on it. I could make a dummy cast the faerie fire spell on them, but it will look a bit ugly with my custom buff system (it will show 2 buffs and purging the buff will not be as straight forward).
I am currently doing something like this:
JASS:
call UnitShareVision(targetUnit, castingPlayer, true)
This shares what the unit sees with me, but it does not reveal the unit if it is invisible.
Is there a different function I can use that does what I want? If not, I will try to throw something together with the faerie fire spell, but I'd rather do that as a last resort.
Thanks in advance!