I have a tower called the generator which allows you to create lightning between the two of them. I want to have it so that if a unit touches the lightning, it takes damage. But the first step to this is detecting when a unit touches the lightning. The angle, length and position of the lightning can change based upon the positioning of the two towers.
Here is a screenshot showing you what it looks like:
Does anyone know a way to be able to do this please? I am using vJass.