ok so heres wat i got for my chain ability....
Trigger
Event
Unit - A unit Starts the effect of an ability
Condition
(Ability being cast) Equal to Twin Chain
Action
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Twin Chain for (Triggering unit)) Equal to 6
Then - Actions
Set TwinChainTarget[0] = (Target unit of ability being cast)
Set TwinChainCaster = (Casting unit)
Lightning - Create a lightning effect Mana Flare (Position of TwinChainCaster) (Position of TwinChainTarget[0])
Set TwinLightningEffect[0] = (Last created lightning effect)
Unit - Create 1 Twin Chains Dummy for (Owner of TwinChainCaster) at (Position of TwinChainTarget[0]) facing Default building facing degrees
Set TwinChainsDummyPurge = (Last created unit)
Unit - Set Level of Twin Chains Dummy purge for TwinChainsDummyPurge to 6
Unit - Add a 3.00 second Generic expiration timer to TwinChainsDummyPurge
Unit - Order TwinChainsDummyPurge to Orc Shaman - Purge TwinChainTarget[0]
Unit - Create 1 Twin Chains Dummy Damage for (Owner of TwinChainCaster) at (Position of TwinChainTarget[0]) facing Default building facing degrees
Set TwinChainDummyDamage = (Last created unit)
Unit - Set Level of Twin Chains Dummy Damage for TwinChainDummyDamage to 6
Unit - Add a 3.00 second Generic expiration timer to TwinChainDummyDamage
Unit - Order TwinChainDummyDamage to Neutral Alchemist - Acid Bomb TwinChainTarget[0]
Wait 0.40 seconds
Lightning - Destroy TwinLightningEffect[0]
Set TwinChainTarget[1] = (Random unit from (Units within 500.00 of (Position of TwinChainTarget[0]) matching ((((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True) and ((TwinChainTarget[1] has buff Twin Chains ) Equal to False))))
If ((Number of units in (Units within 500.00 of (Position of TwinChainTarget[0]) matching (((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True))) Equal to 0) then do (Skip remaining actions) else do (Do nothing)
If ((TwinChainTarget[1] is dead) Equal to True) then do (Set TwinChainTarget[1] = (Random unit from (Units within 500.00 of (Position of TwinChainTarget[0]) matching ((((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True) and ((TwinChainTarget[1] is alive) Equal to True))))) else do (Do nothing)
Lightning - Create a lightning effect Mana Flare (Position of TwinChainTarget[0]) (Position of TwinChainTarget[1])
Set TwinLightningEffect[1] = (Last created lightning effect)
Unit - Create 1 Twin Chains Dummy for (Owner of TwinChainCaster) at (Position of TwinChainTarget[1]) facing Default building facing degrees
Set TwinChainsDummyPurge = (Last created unit)
Unit - Set Level of Twin Chains Dummy purge for TwinChainsDummyPurge to 6
Unit - Add a 3.00 second Generic expiration timer to TwinChainsDummyPurge
Unit - Order TwinChainsDummyPurge to Orc Shaman - Purge TwinChainTarget[1]
Unit - Create 1 Twin Chains Dummy Damage for (Owner of TwinChainCaster) at (Position of TwinChainTarget[1]) facing Default building facing degrees
Set TwinChainDummyDamage = (Last created unit)
Unit - Set Level of Twin Chains Dummy Damage for TwinChainDummyDamage to 6
Unit - Add a 3.00 second Generic expiration timer to TwinChainDummyDamage
Unit - Order TwinChainDummyDamage to Neutral Alchemist - Acid Bomb TwinChainTarget[1]
Wait 0.40 seconds
Lightning - Destroy TwinLightningEffect[1]
Set TwinChainTarget[2] = (Random unit from (Units within 500.00 of (Position of TwinChainTarget[1]) matching ((((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True) and ((TwinChainTarget[2] has buff Twin Chains ) Equal to False))))
If ((Number of units in (Units within 500.00 of (Position of TwinChainTarget[1]) matching (((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True))) Equal to 0) then do (Skip remaining actions) else do (Do nothing)
If ((TwinChainTarget[2] is dead) Equal to True) then do (Set TwinChainTarget[2] = (Random unit from (Units within 500.00 of (Position of TwinChainTarget[1]) matching ((((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True) and ((TwinChainTarget[2] is alive) Equal to True))))) else do (Do nothing)
Lightning - Create a lightning effect Mana Flare (Position of TwinChainTarget[1]) (Position of TwinChainTarget[2])
Set TwinLightningEffect[2] = (Last created lightning effect)
Unit - Create 1 Twin Chains Dummy for (Owner of TwinChainCaster) at (Position of TwinChainTarget[2]) facing Default building facing degrees
Set TwinChainsDummyPurge = (Last created unit)
Unit - Set Level of Twin Chains Dummy purge for TwinChainsDummyPurge to 6
Unit - Add a 3.00 second Generic expiration timer to TwinChainsDummyPurge
Unit - Order TwinChainsDummyPurge to Orc Shaman - Purge TwinChainTarget[2]
Unit - Create 1 Twin Chains Dummy Damage for (Owner of TwinChainCaster) at (Position of TwinChainTarget[2]) facing Default building facing degrees
Set TwinChainDummyDamage = (Last created unit)
Unit - Set Level of Twin Chains Dummy Damage for TwinChainDummyDamage to 6
Unit - Add a 3.00 second Generic expiration timer to TwinChainDummyDamage
Unit - Order TwinChainDummyDamage to Neutral Alchemist - Acid Bomb TwinChainTarget[2]
Wait 0.40 seconds
Lightning - Destroy TwinLightningEffect[2]
Set TwinChainTarget[3] = (Random unit from (Units within 500.00 of (Position of TwinChainTarget[2]) matching ((((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True) and ((TwinChainTarget[3] has buff Twin Chains ) Equal to False))))
If ((Number of units in (Units within 500.00 of (Position of TwinChainTarget[2]) matching (((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True))) Equal to 0) then do (Skip remaining actions) else do (Do nothing)
If ((TwinChainTarget[3] is dead) Equal to True) then do (Set TwinChainTarget[3] = (Random unit from (Units within 500.00 of (Position of TwinChainTarget[2]) matching ((((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True) and ((TwinChainTarget[3] is alive) Equal to True))))) else do (Do nothing)
Lightning - Create a lightning effect Mana Flare (Position of TwinChainTarget[2]) (Position of TwinChainTarget[3])
Set TwinLightningEffect[3] = (Last created lightning effect)
Unit - Create 1 Twin Chains Dummy for (Owner of TwinChainCaster) at (Position of TwinChainTarget[3]) facing Default building facing degrees
Set TwinChainsDummyPurge = (Last created unit)
Unit - Set Level of Twin Chains Dummy purge for TwinChainsDummyPurge to 6
Unit - Add a 3.00 second Generic expiration timer to TwinChainsDummyPurge
Unit - Order TwinChainsDummyPurge to Orc Shaman - Purge TwinChainTarget[3]
Unit - Create 1 Twin Chains Dummy Damage for (Owner of TwinChainCaster) at (Position of TwinChainTarget[3]) facing Default building facing degrees
Set TwinChainDummyDamage = (Last created unit)
Unit - Set Level of Twin Chains Dummy Damage for TwinChainDummyDamage to 6
Unit - Add a 3.00 second Generic expiration timer to TwinChainDummyDamage
Unit - Order TwinChainDummyDamage to Neutral Alchemist - Acid Bomb TwinChainTarget[3]
Wait 0.40 seconds
Lightning - Destroy TwinLightningEffect[3]
Set TwinChainTarget[4] = (Random unit from (Units within 500.00 of (Position of TwinChainTarget[3]) matching ((((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True) and ((TwinChainTarget[4] has buff Twin Chains ) Equal to False))))
If ((Number of units in (Units within 500.00 of (Position of TwinChainTarget[3]) matching (((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True))) Equal to 0) then do (Skip remaining actions) else do (Do nothing)
If ((TwinChainTarget[4] is dead) Equal to True) then do (Set TwinChainTarget[4] = (Random unit from (Units within 500.00 of (Position of TwinChainTarget[3]) matching ((((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True) and ((TwinChainTarget[4] is alive) Equal to True))))) else do (Do nothing)
Lightning - Create a lightning effect Mana Flare (Position of TwinChainTarget[3]) (Position of TwinChainTarget[4])
Set TwinLightningEffect[4] = (Last created lightning effect)
Unit - Create 1 Twin Chains Dummy for (Owner of TwinChainCaster) at (Position of TwinChainTarget[4]) facing Default building facing degrees
Set TwinChainsDummyPurge = (Last created unit)
Unit - Set Level of Twin Chains Dummy purge for TwinChainsDummyPurge to 6
Unit - Add a 3.00 second Generic expiration timer to TwinChainsDummyPurge
Unit - Order TwinChainsDummyPurge to Orc Shaman - Purge TwinChainTarget[4]
Unit - Create 1 Twin Chains Dummy Damage for (Owner of TwinChainCaster) at (Position of TwinChainTarget[4]) facing Default building facing degrees
Set TwinChainDummyDamage = (Last created unit)
Unit - Set Level of Twin Chains Dummy Damage for TwinChainDummyDamage to 6
Unit - Add a 3.00 second Generic expiration timer to TwinChainDummyDamage
Unit - Order TwinChainDummyDamage to Neutral Alchemist - Acid Bomb TwinChainTarget[4]
Wait 0.40 seconds
Lightning - Destroy TwinLightningEffect[4]
Set TwinChainTarget[5] = (Random unit from (Units within 500.00 of (Position of TwinChainTarget[4]) matching ((((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True) and ((TwinChainTarget[5] has buff Twin Chains ) Equal to False))))
If ((Number of units in (Units within 500.00 of (Position of TwinChainTarget[4]) matching (((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True))) Equal to 0) then do (Skip remaining actions) else do (Do nothing)
If ((TwinChainTarget[5] is dead) Equal to True) then do (Set TwinChainTarget[5] = (Random unit from (Units within 500.00 of (Position of TwinChainTarget[4]) matching ((((Matching unit) belongs to an enemy of (Owner of TwinChainCaster)) Equal to True) and ((TwinChainTarget[5] is alive) Equal to True))))) else do (Do nothing)
Lightning - Create a lightning effect Mana Flare (Position of TwinChainTarget[4]) (Position of TwinChainTarget[5])
Set TwinLightningEffect[5] = (Last created lightning effect)
Unit - Create 1 Twin Chains Dummy for (Owner of TwinChainCaster) at (Position of TwinChainTarget[5]) facing Default building facing degrees
Set TwinChainsDummyPurge = (Last created unit)
Unit - Set Level of Twin Chains Dummy purge for TwinChainsDummyPurge to 6
Unit - Add a 3.00 second Generic expiration timer to TwinChainsDummyPurge
Unit - Order TwinChainsDummyPurge to Orc Shaman - Purge TwinChainTarget[5]
Unit - Create 1 Twin Chains Dummy Damage for (Owner of TwinChainCaster) at (Position of TwinChainTarget[5]) facing Default building facing degrees
Set TwinChainDummyDamage = (Last created unit)
Unit - Set Level of Twin Chains Dummy Damage for TwinChainDummyDamage to 6
Unit - Add a 3.00 second Generic expiration timer to TwinChainDummyDamage
Unit - Order TwinChainDummyDamage to Neutral Alchemist - Acid Bomb TwinChainTarget[5]
Wait 0.40 seconds
Lightning - Destroy TwinLightningEffect[5]
Set TwinChainTarget[6] = (Random unit from (Units within 1000.00 of (Position of TwinChainTarget[5]) matching ((Percentage life of TwinChainTarget[6]) Less than 10.00)))
Unit - Create 1 Twin Chains Dummy Heal for (Owner of TwinChainCaster) at (Position of TwinChainTarget[6]) facing Default building facing degrees
Set TwinChainsDummyHeal = (Last created unit)
Unit - Set Level of TwinChainDummy heal for TwinChainsDummyHeal to 6
Unit - Add a 3.00 second Generic expiration timer to TwinChainsDummyHeal
Unit - Order TwinChainsDummyHeal to Orc Shadow Hunter - Healing Wave TwinChainTarget[6]
Else - Actions
Do nothing
ok this is only for lvl 6, so n e ways, basically the problem i have is that i cast it, it hits like 2 units then all of sudden stops and the lightning effect goes to the middle of the map, so it just randomly stops and the units are created in the middle of the map, and dont do n e thing from there. second problem i have is that most of the time it does not cast healing wave on my allies or units.
plz help its soo close to being done!