HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Detecting Enemies That Touch A Lightning Effect

06-27-2009, 10:04 PM#1
Zaraf
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:

Hidden information:
Zoom (requires log in)


Does anyone know a way to be able to do this please? I am using vJass.
Attached Images
File type: jpgGenerator.jpg (258.5 KB)
06-27-2009, 10:21 PM#2
Michael Peppers
This? Ammorth's LineSegments
06-27-2009, 10:26 PM#3
Pyrogasm
You're going to want to use this: LineSegments, by Ammorth

Edit: BITCH.
06-27-2009, 10:29 PM#4
Michael Peppers
I only regret that I can't write a post made entirely of "rofl" smilies... :D
06-27-2009, 10:30 PM#5
Zaraf
lol, thanks guys :) +rep for both