• 🏆 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!

How to create Lightning Effect in the air?

Status
Not open for further replies.
Level 7
Joined
Mar 16, 2014
Messages
152
I do not see any option for how to do this and Google has offered no results, but I have seen other spells that have done this before.

I have tried making one of the points of a lightning effect be a dummy flying unit, but the lightning effect still spawns on the ground underneath the flying unit instead of in the air. All I want is a lightning effect that shows up in the air and hits the ground with the other end of it.
 
Level 15
Joined
Mar 25, 2016
Messages
1,327
You need Jass/Custom script the native function AddLightningEx allows to specify z1,z2.
JASS:
native AddLightningEx takes string codeName, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 returns lightning
 
Status
Not open for further replies.
Top