HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Lightning

02-18-2013, 01:58 AM#1
Fledermaus
Background:
When making some spells for my map, I discovered that I needed to create my own lightning, I looked around wc3c but couldn't find any released resources. I made my own one which just connected lightning between units as I didn't really need anything else. I then looked deeper in wc3c and found Kueken's abandoned AdvLightning thread. I liked the idea of making a proper library to deal with lightning so I did. Then Anitarf bullied me until I made it use struct syntax. And here we are.

Requirements:
  • ARGB, by Vexorian (optional)

Credits:
Code:
Expand Library:

Change Log


v1.00: System resubmitted after a vast overhaul.
v1.01: Added the option to ignore the z height of terrain with attachToPoint.
v1.02: Added releaseDelay, constants for start and end point/unit for attaching, and getter and setter methods for ARGB colours.

02-18-2013, 09:22 AM#2
Anitarf
So, this already got approved once during the past year but then got lost in the crash, so let me approve it again. It's a neat library that adds very useful features to lightnings such as attaching them to units and updating their visibility. Good job.