I want to know if this is possible. I have created a weapon that should have a simple damage effect when you order the unit to attack a certain target. On the other hand, when you don't order the unit to attack a target and the auto scan of the weapon finds one by itself, a different effect (like a search area effect) is supposed to be triggered.
Maybe a Unit Scan validator and a Switch effect, but I do not think it is possible as the scan mearely says to use the attack ability just like right clicking so will be extremely hard to segregate the two.
Unless you presume that scan attacks are after the unit has been idle in which case you could add a buff if the unit is not being ordered to do anything that is removed when ordered to move or something.
I want to know if this is possible. I have created a weapon that should have a simple damage effect when you order the unit to attack a certain target. On the other hand, when you don't order the unit to attack a target and the auto scan of the weapon finds one by itself, a different effect (like a search area effect) is supposed to be triggered.
Maybe a Unit Scan validator and a Switch effect, but I do not think it is possible as the scan mearely says to use the attack ability just like right clicking so will be extremely hard to segregate the two.
Unless you presume that scan attacks are after the unit has been idle in which case you could add a buff if the unit is not being ordered to do anything that is removed when ordered to move or something.
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