I was wondering if there were a way in the data editor for an ability to reveal a targeted unit, so that if it retreats into the fog the player would still have sight of it for a set amount of time. It would also be nice if this could remain on units that became invisible while having the behavior/effect.
My attempts so far have led me to a series of unit creations and other such craziness through triggers, which didn't look very good, and I've been told to avoid triggers when there's a data equivalent.
Try creating a persistent similar to the Scanner Sweep one on the target unit. There might be other ways to share vision with a single unit via behaviors, but I never looked into them so I don't know.
I was wondering if there were a way in the data editor for an ability to reveal a targeted unit, so that if it retreats into the fog the player would still have sight of it for a set amount of time. It would also be nice if this could remain on units that became invisible while having the behavior/effect.
My attempts so far have led me to a series of unit creations and other such craziness through triggers, which didn't look very good, and I've been told to avoid triggers when there's a data equivalent.
@DaBernMon: Go
Try creating a persistent similar to the Scanner Sweep one on the target unit. There might be other ways to share vision with a single unit via behaviors, but I never looked into them so I don't know.
@TheAlmaity: Go
Okay thanks, I'll look into this method.
Try the Reveal type behaviour or the Reveal flag of the Buff behaviour
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
You know what, I must have completely missed those. If that fixes the problem I'll feel rather silly indeed.
Don't we always in hind sight.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg