• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Spell] Stunning Chain Lightning

Status
Not open for further replies.
Level 1
Joined
Apr 8, 2012
Messages
4
Hello!

I would like to add two second stun to my chain lightning spell. Every striked enemy have to be stunned of course. I have tried to do it, but i failed...

Help me, please ;)
 
Level 9
Joined
Nov 19, 2011
Messages
516
Replace chain lighting with complitely triggered spell. Use "pick evry unit in range" trigger and dummy unit with storm hammer. Like this:

Unit is target of your spell then:
Pick random unit in xxx range around target
Create dummy unit
Wait 0.01 sec
Order dummy to cast storm hammer at picked unit
Wait 0.01 sec
Remove dummy

Do this as many times as many bounces you want.
 
Level 6
Joined
Oct 4, 2011
Messages
226
To keep track of the exact unit that the bounce chooses so that the right unit gets stunned at the right time would mean that you have to custom trigger each lightning and also use a dummy unit with bash at the found unit. You could use a dummy unit to cast a "dummy chain lightning" ability that only hits 1 target onto the found unit so each time it moves from place to place dealing damage and then if the unit is set to a variable or used in a hashtable it will be easy enough to create a stun effect.
 
Replace chain lighting with complitely triggered spell. Use "pick evry unit in range" trigger and dummy unit with storm hammer. Like this:

Unit is target of your spell then:
Pick random unit in xxx range around target
Create dummy unit
Wait 0.01 sec
Order dummy to cast storm hammer at picked unit
Wait 0.01 sec
Remove dummy

Do this as many times as many bounces you want.
Failed, it won't work.


Also why not use this : http://www.hiveworkshop.com/forums/spells-569/chain-spell-template-170081/?prev=search%3Dchain%26d%3Dlist%26r%3D20

And the test spell done with the spell template is... a storm bolt chain !


Also, you have this : http://www.hiveworkshop.com/forums/spells-569/jeffqs-basic-chain-system-v2-00f-mui-gui-156531/
 
Level 5
Joined
Jan 12, 2010
Messages
132
Lolz use a damage detection system like weep.
Ability must meet requerment
Chain Lightning - a simple single target skill no special effect no damage
Chain dummy - set it as u desire // take care that this skill will damage,stun and create most of effects
GGD_damagedunit
GGD_damagingsource /// those are variables l read the link pasted above first
GGD_event
  • Trigger 1
  • Event
    • A unit start the effect of an ability
  • Conditions
    • Level of ability ability (Chain) for (triggering unit) >= 1
  • Actions
    • Set - Temp_point = Position of (triggering unit)
    • Unit - Create a dummy at Temp_point
    • Unit - Add (chain_dummy) to (last created unit)
    • Unit - Add 0.4 generic expiration timer to (last created unit)
    • Unit - Issue order (last created unit) to Orc - Chain lightning (target unit of ability being cast)
    • Custom Script: Call RemoveLocation(udg_Temp_point)
  • Trigger 2
  • Event
    • GGD_event = 00.00
  • Conditions
    • Level of ability ability (Chain_dummy) for (GGD_damagesource) >= 1
  • Actions
    • Set - Temp_point = Position of GGD_damagedunit
    • Unit - Create a dummy at Temp_point
    • Unit - Add (storm bolt) to (last created unit)
    • Unit - Add 0.4 generic expiration timer to (last created unit)
    • Unit - Issue order (last created unit) to Human - Stormbolt (GGD_damagedunit)
    • Custom Script: Call RemoveLocation(udg_Temp_point)
Hand written sry
Weep GUI - friendly Damage Detection
 
Last edited:
Status
Not open for further replies.
Top