• 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 with height

Status
Not open for further replies.
Level 3
Joined
May 11, 2008
Messages
22
I searched for this question as well, but I couldn't find it. Anyway...

I wanted to create a lightning effect from point A to point B, but both points are at a certain height, that is, not coming from and terminating to the ground or 'position of unit'.

Do I need to create dummy units to do this? What trigger should I use?

Thanks.
 
Level 3
Joined
May 11, 2008
Messages
22
I see, thanks donut3.5, but I forgot to mention that I'm not familiar with JASS (which I think is from what your suggested method is based from). Is it possible with good ol' GUI-based world editor?
 
Level 27
Joined
Feb 22, 2006
Messages
3,052
Unfortunately, I do not believe so. You can simply use custom text to do this one thing for you though. Example:
JASS:
call AddLightningEx("CLPB", true, GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), 4000., GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), 0.)
This will make a vertical lightning bolt of the blue chain lightning at the position of the triggering unit.
--donut3.5--
 
Status
Not open for further replies.
Top