Hi all,
I wanna do a special power that allows my unit to not be targeted for some kind others units for a limited time.
I found the unit:SetDoNotTarget(true) method, but it desactivate targetting for all opponents with no distinction. But i want to do counter units. The weapon:SetValidTargetsForCurrentLayer() is only valuable for layers categories (ground, air, water, sub...). The weapon:SetTargetingPriorities() only controls priorities but not the targettng tracking itself.
Somebody has some experience to restrict targeting on some units only ? Or some idea ?