HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

A Triangle?

12-09-2006, 04:26 AM#1
divine_peon
Well, I've been creating a spell for my AoS like a chain lightning hitting 3 hero opponents. Then after that, the locations of the heroes are stored. Then i want to create a triangle-like area between those 3 points, and get all units inside it then damage them. My problem is I don't know how to create that kind of triangle. Help..?

Oh, sorry I hate trigonometry...
12-09-2006, 04:32 AM#2
PipeDream
various point in triangle scripts can be found here: http://www.wc3campaigns.net/showthread.php?t=86906
if I recall correctly Daelin's is optimal and probably is a good example for what you're trying to do.
12-09-2006, 04:50 AM#3
divine_peon
thank you, I got it. hard calculations though...