| 12-09-2006, 04:26 AM | #1 |
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 |
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 |
thank you, I got it. hard calculations though... |
