• 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.

How to create lightning effect with Z offset by trigger

Status
Not open for further replies.
Level 11
Joined
Oct 20, 2007
Messages
342
i need the lightning effect,
like chain lightning, there got a lightning from a point meet to another point.
It could be long and short.
i think there got no model file could be like that.
but if got, the properties of the model file is not same with lightning effect.
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
Custom string: set bj_lastCreatedLightning = AddLightningEx("<lightning code>",true,x1,y1,z1,x2,y2,z2)
for checking the lightning codes create a GUI lightning creater action
convert it to jass and look from there
they are like "CHLP" (I mean 4 character string)
after than use it with Last Created Lightning Effect when destroying or setting it to a variable

... you got me
 
Level 11
Joined
Oct 20, 2007
Messages
342
MoveLightning(lightning,true,x1,y1,z1,x2,y2,z2) as I remember

Hohoho, thx for the information.
its true about 95%
in a very lucky situation i found out what the wrong.
its leak a Ex word :xxd:
very luckily i found the answer from you:
Call MoveLightningEx(lightning,true,x1,y1,z1,x2,y2,z2) as I remember

thankyou very much
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
I didnt have warcraft with me
not all guys in the world have internet in their homes
think twice when be4 u laugh to something
 
Status
Not open for further replies.
Top