Thread: Lightning
View Single Post
Old 02-18-2013, 01:58 AM   #1
Fledermaus
default string
 
Fledermaus's Avatar
 
Join Date: May 2006
Posts: 705

Submissions (1)

Fledermaus is a jewel in the rough (194)Fledermaus is a jewel in the rough (194)Fledermaus is a jewel in the rough (194)

Send a message via MSN to Fledermaus
Default Lightning

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.

Fledermaus is offline   Reply With Quote
Sponsored Links - Login to hide this ad!