I have created a missile that has a buff on it. The buff has a periodic search effect that checks for enemy units, dealing damage to each enemy unit it finds.This means that when I shoot at a unit, the missile deals damage to every enemy unit coming in the way of the missile.The periodic effect on the buff searches for enemy units every 0.125 seconds.The problem is that the missile deals damage several times to the same units. I want the damage to happen only once per unit it passes through.I have marked "ID" in the Marker-field both at the Search effect and the Damage effect and also added the No Marker validator to the Damage effect and the Search effect.I know I have solved this before, a couple of years ago, but I can not remember how to do it... >.<What am I missing?
Markers are very fussy.
I prefer to use a Buff behaviour to mark hit units.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Aah, of course! I made the search effect add buffs to enemy units. The buff lasts maybe 0.25 seconds and when it expires it deals the damage. In this way the same units are only dealt damage once, since they can only have 1 buff.Thanks!