HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Z offset and lightning effects

06-23-2005, 01:43 PM#1
Koga73
how can i make lightning effects go from a point in the air to a point on the ground. Ive tried using invisible flying units, but the start and end of the lightning is at positions of the units reguardless of their height.
06-23-2005, 02:25 PM#2
iNfraNe
Custom Script:

call AddLightningEx(codeName, true, GetLocationX(udg_tempPoint1), GetLocationY(wudg_tempPoint1), GetLocationZ(udg_tempPoint1) + heightofpoint1, GetLocationX(udg_tempPoint2), GetLocationY(udg_tempPoint2), GetLocationZ(udg_tempPoint2) + heightofpoint2)