I'm trying to create a chain lightning ability that only targets the selected unit type. For example, let's say there's a group of enemy units consisting of marines and marauders and whatnot. And if I were to use the ability on a marine, the lightning would only bounce to and damage other marines, leaving all other types of unit untouched. How would I go about making such ability?
you would have to use triggers as well as data objects. I cannot see any way of doing it without a large number of validators, effects and other objects for each type of unit it could target.
give the marines some sort of useless classification such as psionic . And then for your search areas for each bounce make sure " psionic " is required from the search filters.
if you dont want to do a method like that, then you have to use a validator . and specify it on each search area effect for each bounce
(im presuming you made the chain lightning in the data editor? )
I was going to create a chain lightning, but then I discovered the shocking grasp ability made by rrowland. I'm thinking of using it as the basis for my spell.
I'm trying to create a chain lightning ability that only targets the selected unit type. For example, let's say there's a group of enemy units consisting of marines and marauders and whatnot. And if I were to use the ability on a marine, the lightning would only bounce to and damage other marines, leaving all other types of unit untouched. How would I go about making such ability?
you would have to use triggers as well as data objects. I cannot see any way of doing it without a large number of validators, effects and other objects for each type of unit it could target.
give the marines some sort of useless classification such as psionic . And then for your search areas for each bounce make sure " psionic " is required from the search filters.
if you dont want to do a method like that, then you have to use a validator . and specify it on each search area effect for each bounce
(im presuming you made the chain lightning in the data editor? )
I was going to create a chain lightning, but then I discovered the shocking grasp ability made by rrowland. I'm thinking of using it as the basis for my spell.
http://forums.sc2mapster.com/resources/project-workplace/3281-contest-unit-spells/
I'd prefer using validators to create this ability, but I have no idea where to start (never messed around with validators before).