Lightning height

Necrach

You can change this now in User CP.
Reaction score
62
I have searched this forum and tried to figure out how to use the SetLightningZ function in a custom script (I am using GUI). I can't get it to work, thing is i cannot find how to get the Last Created Lightning Effect into the ()

Can someone post a fitting custom script? All I want to do is giving my lightning effect a small height :eek:

(it is saved in a hashtable as Last Created Lightning Effect, so I do not want to set it into a temporary Lightning variable)
 

Happy

Well-Known Member
Reaction score
71
i think it is...

local effect Lightning (at the beginning)


then after creating the lightning

set Lightning = GetLastCreatedEffectBJ()


and then use Lightning...
but im not sure...
 

Happy

Well-Known Member
Reaction score
71
if you dont destroy the lightning it will stay there as far as i know ^^ so you have to use...hmmm...oh man jass functions...call DestroyLightning(Lightning)...that should be the right line...try it and if it doesnt work say it here...either i or some guys better in jass than me will help you ^^
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top