• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Lightning Effect Height Increasing?

Status
Not open for further replies.
Level 17
Joined
Dec 11, 2014
Messages
2,004
By height you mean, Z?

I think what you need is this:
JASS:
native MoveLightningEx takes lightning whichBolt, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 returns boolean

Or on creation:
JASS:
native AddLightningEx takes string codeName, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 returns lightning
 

Chaosy

Tutorial Reviewer
Level 41
Joined
Jun 9, 2011
Messages
13,239
OHHH

Now I understand your question. I only got one solution that works perfectly/flawlessly and it requires vjass.

However, it depends on the specific scenario. It is certainly possible without vjass in many cases. You could of course save all lightnings you attach to the goldmine in an array but I am not sure if that's possible when using the system. Vjass might be your only hope if you want to use that system.
 
Status
Not open for further replies.
Top