So I've tried to make a chain lightning weapon that doesn't require 2 effects per bounce. I'm currently creating a closed loop with 1 search effect, which is interrupted via a validator counting the number of bounces. It all works fine except the beam bounces back to previous targets. Can someone please explain how the Mutalisk weapon avoids this problem, especially since setting the effect of the 3rd muta bounce missile to the 1st bounce set doesn't create this problem. (I.e. if I make the Muta weapon loop it hits everything in range once, but never bounces back to previous targets)
Edit: Got it! I was firing the thing from a weapon, setting its Mark+ field to ID-Activated solved everything! This seems to be what the "No Markers" validator checks for.
I'm aware of that thread, but noone in there has posted a full working example, and the way it sounds they're creating a new set/search/buff/validator for each bounce, which is annoying for anything more than 3 bounces. I could do that too, but I wanted a version that casts the same search over and over and possibly keeps going for multiple seconds (WC3 allowed 100+ bounces, remember?), longer than I can keep the "was hit" buff.
What Marker? I know of the "no marker" validator, but it doesn't show what it counts. I also noticed that some ways of looping the mutalisk attack cause it to hit targets twice. (I think making the last search launch the initial missile is one example of this)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So I've tried to make a chain lightning weapon that doesn't require 2 effects per bounce. I'm currently creating a closed loop with 1 search effect, which is interrupted via a validator counting the number of bounces. It all works fine except the beam bounces back to previous targets. Can someone please explain how the Mutalisk weapon avoids this problem, especially since setting the effect of the 3rd muta bounce missile to the 1st bounce set doesn't create this problem. (I.e. if I make the Muta weapon loop it hits everything in range once, but never bounces back to previous targets)
Edit: Got it! I was firing the thing from a weapon, setting its Mark+ field to ID-Activated solved everything! This seems to be what the "No Markers" validator checks for.
Did someone say search button? Well I did
http://forums.sc2mapster.com/development/map-development/539-i-cant-figure-this-out-chain-lightning/#posts
Exactly the same problem and also resolved.
I'm aware of that thread, but noone in there has posted a full working example, and the way it sounds they're creating a new set/search/buff/validator for each bounce, which is annoying for anything more than 3 bounces. I could do that too, but I wanted a version that casts the same search over and over and possibly keeps going for multiple seconds (WC3 allowed 100+ bounces, remember?), longer than I can keep the "was hit" buff.
You need a validator to count the Markers on the Unit, so your next target is required to have 0(!) Markers - that's how far i understood the system
What Marker? I know of the "no marker" validator, but it doesn't show what it counts. I also noticed that some ways of looping the mutalisk attack cause it to hit targets twice. (I think making the last search launch the initial missile is one example of this)