So Im making this machine gun players to use in coop.
Rather than use missiles, I just set up the create persistent effect to go straight to a search area effect, which then deals damage. It's a lot like the hellion's flame thrower setup.
However, here is the problem. The set for a missile setup includes the damage effect and a suicide effect in a set so the missile doesn't continue past the first unit it hits. but in this setup, using suicide effect terminates the player unit.
So I want to avoid using missiles if possible because I want the damage to appear instantaneous.
But it should only deal damage the first enemy it hits. Is there a way to prevent the effect from damaging enemy units behind the closest enemy unit?
I have Hellion weapon for my marauder (with 0 stats period so its like a constant flame while its active).
And I pretty much have same code as what KineMorto wrote, on Spacebar (down).
I must be missing something obvious because When the player unit walks up to an enemy and i press spacebar it fires, but it wont fire if theres no enemy in front of the unit. it makes it very klunky with a bunch of zerglings because they attack from all angles.
How do you make the attack occur regardless of whether a target exists?
0
...i dunno it looks wrong; how do i make it look correct?
0
Ive been trying to do this but it doesn't work right for me.
When I apply the material to the marine model, it applies fine but it doesn't wrap over it correctly
looks like this:
halp!!
0
So Im making this machine gun players to use in coop.
Rather than use missiles, I just set up the create persistent effect to go straight to a search area effect, which then deals damage. It's a lot like the hellion's flame thrower setup.
However, here is the problem. The set for a missile setup includes the damage effect and a suicide effect in a set so the missile doesn't continue past the first unit it hits. but in this setup, using suicide effect terminates the player unit.
So I want to avoid using missiles if possible because I want the damage to appear instantaneous.
But it should only deal damage the first enemy it hits. Is there a way to prevent the effect from damaging enemy units behind the closest enemy unit?
0
Hmm.
I have Hellion weapon for my marauder (with 0 stats period so its like a constant flame while its active). And I pretty much have same code as what KineMorto wrote, on Spacebar (down).
I must be missing something obvious because When the player unit walks up to an enemy and i press spacebar it fires, but it wont fire if theres no enemy in front of the unit. it makes it very klunky with a bunch of zerglings because they attack from all angles.
How do you make the attack occur regardless of whether a target exists?