• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Mhrmm... Lightning isn't appearing correctly on its heightmap.

Status
Not open for further replies.
Try my system called Lightning Handling in my Signature.

Or, you can code this yourself instead giving the task to the add-on.

  • Custom script: set udg_Lightning = AddLightningEx(lightningName, booleanShow, x1, y1, z1, x2, y2, z2)
Where '1' is at Source and '2' is at Target.

To get Z value, you can do this;
  • Set Source = (YourSourceUnit)
  • Set TempLoc = (Position of (Source))
  • Custom script: set udg_z1 = GetLocationZ(udg_Source) + GetUnitFlyHeight(Source)
  • Custom script: call RemoveLocation(udg_Source)
Repeat this for z2 (Target).

Global Variables:
TempLoc - Point
x1, x2, y1, y2, z1, z2 - Real
Lightning - Lightning

Usually using other add-on (except vJASS) will only make the Trigger Editor worse.
Things like USMWESFAWEADADAD or EGUI will fked up your trigger.
 
Status
Not open for further replies.
Back
Top