My idea is to have a search that finds targets, then applies a search launched from that target unit with the offset of like, y; 1.5, that applies a buff only used by the casting ability that validates the second half of it?
Like maybe a quickfire persistent?
Anyone make this work decently and willing to share some insight?
Edit: this idea worked, 10/10 would data again.
I made the caster launch a .1s duration with an initial search that will create a persistent at the target unit, that launches a second search offset from the targets facing of y:3, the second search applies a behavior to the casting unit. Then the caster's persistent expires firing a second search that fires a switch effect which checks for the behavior on casting unit, if so, do something, if not, do something else.
This method allows me to check if the caster is behind the facing of the target all through data.
I want to make an assassination type ability.
My idea is to have a search that finds targets, then applies a search launched from that target unit with the offset of like, y; 1.5, that applies a buff only used by the casting ability that validates the second half of it?
Like maybe a quickfire persistent?
Anyone make this work decently and willing to share some insight?
Edit: this idea worked, 10/10 would data again.
I made the caster launch a .1s duration with an initial search that will create a persistent at the target unit, that launches a second search offset from the targets facing of y:3, the second search applies a behavior to the casting unit. Then the caster's persistent expires firing a second search that fires a switch effect which checks for the behavior on casting unit, if so, do something, if not, do something else.
This method allows me to check if the caster is behind the facing of the target all through data.
jeah a simple validator would be too easy. rather stick with persistants and search effects.
@FunkyUserName: Go
is there a validator that will do this? please share
this one checks if the unit is hit from behind. (90 degrees)
it somehow doesnt show the 2nd search area in xml. it's 360 degree and greater or equal 1
Someone has already done this.
http://www.sc2mapster.com/forums/resources/tutorials/17644-data-data-driven-caster-behind-target-validator/
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