| 06-01-2003, 05:51 AM | #1 |
Im just curious, would it be possible to make chain chain lightning, essentially it bounces 5 (or is it 6?) times, each time it bounces it sets of another chain lightning. I was thinking maybe using triggers, something like if unit comes under affect of chain lightning (1), cast chain lightning (2) on it. Ill probably have to make 2 chain lightning spells, otherwise it would loop on forever. The more preferable option is to use JASS, but I have no idea how to write JASS BTW I was thinking this would make a really cool ability for an ultimate tower or something. similar. |
| 06-01-2003, 05:54 AM | #2 |
Guest | Its possible, gunna take lots of triggering tho. |
| 06-01-2003, 06:49 PM | #3 |
yes its pretty easy just use redskulls spell editor (if you dont know how look my tutorial)you could even make it bounce 1000 times...hehe thanx you made me an idea for a lvl 6 spell...:D by the way dont need triggers |
| 06-01-2003, 06:56 PM | #4 |
anyway, he wanted that from every bounce another lightning appeared.. not just to increase the number of bounces my english sucks |
| 06-01-2003, 06:58 PM | #5 |
oh...well then the only way would be using triggers.. |
| 06-01-2003, 07:13 PM | #6 |
the original spell would also have to be a trigger. it would bea complex line of triggers. if you reallyt m8ust, make it only hit the first target, and when that hapens, cast chain lightinign on a unit ,and make the unti tht is hit cast the chsain spell onthe next unit. |
| 06-01-2003, 07:25 PM | #7 |
Except that method requires every unit that has the spell cast on it would need to have Chain Lightning as well, which is impractical. |
| 06-01-2003, 07:32 PM | #8 |
I think i might just edit it to bounce 1000 times or something, but with that method can you modify chain lightning using redsculls editor so it has a much larger bouncing range (between targets)? |
| 06-01-2003, 08:29 PM | #9 |
change the area of effect. |
| 06-01-2003, 09:55 PM | #10 |
Guest | Wait - how do you want the spell to work? So that it bounces from one target to another target and then the target casts chain lightning, which could come back at the original target? That's not a very practical spell. If, instead, you are hoping to make it bounce from one opponent to another opponent and then if hits an opponent to chain again against more opponents... (but not chain back and hit the originator) then I think I have an easy trigger solution. I will give my idea a shot and get back to you if it works. |
| 06-01-2003, 10:03 PM | #11 |
Erm..I think he wants it so that if there are 2 targets, and it leaps 4 times, that it would jump back and forth between the two targets. That would be pretty interesting, or a chain that jumps between all nearby units for a while and the caster has to run away or else he gets dragged into it :P |
| 06-02-2003, 12:17 AM | #12 |
Guest | if you can find a way to detect the chain lightning spell being cast (by specific mana drop, for example) and then use that to get the target of the chain lightning spell... design a custom unit (a chain light element (CLE)) that has chain lightning and is basically invisible (set the transparency to 100%, maybe). Set up the trigger to create one of these CLE's at the point where the target of the chain lightning spell. Have the CLE select every unit within range of itself into a unit-group: Lightning Attacked Units (remove the target of the original chain lightning) and chain lightning each of those units by singling out each attacked unit (as the first) and then removing the CLE that casts the chain lightning (from the game) and removing those attacked from the Lightning Attacked Units unit group. Not that simple, but if you can find the first target through the mana drop, the trigger itself is recursive. |
| 06-02-2003, 03:05 AM | #13 |
why create a chainlightning spell if you are going to use it to a tower? why not just simply give the tower bounce attack and set bounces to 6 for example, you proberly will need an edited unitmetadata.slk and WorldEditStrings.txt but if you have that: http://www.wc3campaigns.com/forums/a...&postid=167725 it should'nt be so hard... (put the files from the .rar in the war3 directory) to edit bounce with my files open ordernary WE/uniteditor, under targets allowed for attack 1 there you will find "attacks number of creatures" after extracting the files. Then that should do it 8) . |
| 06-02-2003, 03:51 AM | #14 |
btw you must extract unitmetadata to the map file your using bounceattack in (Units\unitmetadata) |
