The Effect can not be found

Status
Not open for further replies.
I think the Zeus's lightning effect is the Chain Lightning's lightning effect. However, it is created by a dummy which is above the target so it seems different to the base lightning effect.
 
Since I dislike DotA I don't know how the effect looks, but if hayaku1412 is correct, this trigger might help:
  • Actions
    • Set tempLoc = (Position of Footman 0001 <gen>)
    • Custom script: set bj_lastCreatedLightning = AddLightningEx( "CLSB", false, GetLocationX( udg_tempLoc ), GetLocationY( udg_tempLoc ), 1000., GetLocationX( udg_tempLoc ), GetLocationY( udg_tempLoc ), 0. )
    • Custom script: call RemoveLocation( udg_tempLoc )
This creates a lightning effect (Chain Lightning - Secondary) on the target. You can access it by using "last created lightning effect" in GUI (to remove it for example).

6xZ7i.jpg
 
By bigger you mean longer? You need to increase its Z value. ap0calypse has two real values in his custom script, 1000 and 0. 1000 represents the point where the lightning stems from and 0 the point where it ends. Increase the 1000 value. If you mean thicker, you need to retexture the lightning itself.

crap.... I want it thicker... just like in DotA
 
What if you use "CLPB" instead of "CLSB?
So the command becomes:
  • Custom script: set bj_lastCreatedLightning = AddLightningEx( "CLPB", false, GetLocationX( udg_tempLoc ), GetLocationY( udg_tempLoc ), 1000., GetLocationX( udg_tempLoc ), GetLocationY( udg_tempLoc ), 0. )
It's another form of Chain Lightning, a little thicker if I remember correctly.

Edit: actually, I never factored in the height of the unit/terrain. Would this be necessary for what you're doing? :)
 
Status
Not open for further replies.
Back
Top