🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
For creating lightning effects you need at first 2 locistion, where effect begins and where it ends.
Lightning - Create a Chain Lightning - Primary lightning effect from source Point1 to target Point2
Remember to remove location leaks latter.
If you want to link lightning effect with dummies, create a loop that while creating 18 dummies, sets Point2 to position of last created unit (since I'm sure Point1 is constnt in cause of unit who summons whole effect), creates ligthning effect, and removes location leak.
Unit - Create 1 Lightning_Dummy for (Owner of LC_Caster[LC_Index2]) at (LC_TargetPoint[LC_Index2] offset by 400.00 towards ((Real((Integer A))) x (360.00 / 18.00)) degrees) facing LC_TargetPoint[LC_Index2]
Set LC_Dummy2[LC_Index2] = (Last created unit)
Unit Group - Add LC_Dummy2[LC_Index2] to LC_Group2[LC_Index2]
Unit - Add a 8.00 second Generic expiration timer to (Last created unit)
Set LC_DummyPoint[LC_Index2] = (Position of LC_Dummy[LC_Index2])
Set LC_UnitPoint[LC_Index2] = (Position of LC_Dummy2[LC_Index2])
Lightning - Create a Chain Lightning - Primary lightning effect from source LC_DummyPoint[LC_Index2] to target LC_UnitPoint[LC_Index2]
Set LC_LightningEffect[LC_Index2] = (Last created lightning effect)
🔨 Downloads and Uploads have been fixed! If you still have trouble downloading or uploading assets to or from Hive, please reach out to us in the Site Discussion board.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.