V1.0
First Release.
V1.1
+Fixed multiple bugs.
+Added the option to allow units to get hit by multiple spines from the same Attacker.
+Tried my best to make it more clear and easy to understand.
This system creates a line attack similar to what you see in StarCraft and StarCraft 2. You have several adjustable variables to customize how it works.
How that work's is:
Basically, the attack sends "Spines" travel across the screen in a line. Anything that touches the "Spines" takes damage. But only if they touch the spine, that includes the initial target. You can adjust the delay between Spines spawning to make it impossible to dodge, as well if you prefer.
And here's how that looks:
You have several things you can customize per instance. Each also has a default value, in case you don't want to immediately change something or if you forget to change something. You can customize:
Damage.
Variables
Delay between each "Spine" Default = 10
The number of "Spines" spawned Default = 70
The distance between each "Spine" Default = 60
AoE of each "Spine" Default = False
And whether the Spines do Friendly Fire damage or not. Default = False
NEW: Whether the same unit cannot take damage more then once from the same attacker by being within multiple AoE's of the attacker. Default = True
COMING SOON: The spines end at the acquired/targeted unit. Default = False
COMING SOON: Whether the spines will bounce in a random direction when they hit a unit or not. Default = False
It's a /little/ bit off, but I think it turned out really good.
Credits for the Lurker model goes to
Caveman.
EDIT: This could potentially be modified to recreate SC2's Effects system and I think I'll work on that next.
IMPORTANT NOTES:
1. Your unit that uses this system must have -1 damage and 1 for Number of Dice and 1 for Sides per Dice otherwise it will cause units to run away. To do the -1 Damage, Hold shift and press enter or click on the damage field. It will also still cause the "Your Unit is Under Attack" Alert, so if you want to create something like the Hold Fire for the Lurkers in here you must COMPLETELY DISABLE their attack. Which I have no idea how to do other then using Entangling Roots. So I have to script a custom morph ability to use this 100%
Keywords:
Starcraft, Star Craft, Lurker, Line, Splash