Hey,i was trying to create a neutral unit that acts similar to a xelnaga tower but grants permanent vision, even if the 'capturing' unit leaves it.
my first approach was modifying the xelnaga tower. after i couldn't figure out how that thing works, i have been trying to create unit that can be occupied by walking near it with another unit. Which then can be taken by another player by again walking close to it with a unit.
yet again i cannot figure the hell out how to get that working.
i tried using a behavior buff which modifies owner in connection with a search effect and an interact ability which is being autocast when a unit enters the search area.
after i didnt get that working, i am now out of ideas.
any idea how to realise this idea (possibly in an easy way)?
Give the tower a search effect which grants the tower a buff whenever a unit is found. The buff should change the tower's ownership to the unit found by the search effect. Give the buff a validator that removes the buff whenever an enemy unit is close by.
Hey,i was trying to create a neutral unit that acts similar to a xelnaga tower but grants permanent vision, even if the 'capturing' unit leaves it. my first approach was modifying the xelnaga tower. after i couldn't figure out how that thing works, i have been trying to create unit that can be occupied by walking near it with another unit. Which then can be taken by another player by again walking close to it with a unit.
yet again i cannot figure the hell out how to get that working. i tried using a behavior buff which modifies owner in connection with a search effect and an interact ability which is being autocast when a unit enters the search area.
after i didnt get that working, i am now out of ideas.
any idea how to realise this idea (possibly in an easy way)?
@IcyJay: Go
Give the tower a search effect which grants the tower a buff whenever a unit is found. The buff should change the tower's ownership to the unit found by the search effect. Give the buff a validator that removes the buff whenever an enemy unit is close by.
i got it working. thank a lot
The Interact avility can share vision and control of the unit when autocast. If you want a pure data method other than that use this.
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