| 02-02-2004, 11:07 PM | #1 |
I _need_ (not want, I will be killed if I can't do this.. seriously) to find out how to aquire the targets of chain lightning. The first target is quite simple to find out even for a Dudbear (Legend of Manaâ„¢)... I think this may be possible... Maybe you can check for buffs or something.. Like if there is a chain lightning buff that affects the second, third etc. target... Now if this doesn't work maybe someone experienced in JASS might know a way of doing this. I've never even looked at JASS since I find it useless (feel free to flame this opinion, but use good arguments so I understand why JASS is worth learning). Anyways, I hope YOU (this is directed to whomever might be reading this) know the way of doing this! There are many people that will have good use of this knowledge, at least I've seen 2 people complaining about it (counting me). Thanks in advance. cangrejo |
| 02-03-2004, 01:48 AM | #2 |
Hmmm there are some nearly impossible ways I know off... like the "Unit takes damage" event, you can compare the damage taken to the amount of damage CL does at each bounce. It would be an involved multi-part trigger and difficult to make and not 100% reliable, but it would work. It would be far easier if this chainlighting spell cannot be cast very often, or better yet, can only be cast by one unit of one player in the game, and even easier if it does the same damage on each hit (no damage reduce) The main reason to learn atleast some JASS is to be able to use functions not in the GUI, such as functions to clean up memory leaks, and to give orders that have no GUI OrderID, that sort of stuff. |
| 02-03-2004, 02:34 AM | #3 |
Now I dont even remember what I was asking for, I mean, what I was going to use the targets for.. Anyways, maybe you (me) can make a single target spell, that randomly chooses more targets.. yeah that's cool event: unit casts a spell condition: spell == bogus actions: dmg on the unit, pick a unit in radius from the target unit, set unit_var = picked unit and make a loop, wow I'm smart! :) About JASS, maybe I'd learn about those memory clearing functions if I'd ever make a big multiplayer map... But IMO the GUI works perfectly for smaller scaled projects |
