AddLightning
- Parameters
-
codeName string
checkVisibility boolean
x1 real
y1 real
x2 real
y2 real
- comment
Adds the lightning of type codeName between two points with coordinates (x1;y1) and (x2;y2). The checkVisibility parameter allows to toggle lightning's visibility in fog of war and black mask: true will force it to show in the fog of war and black mask when false is the reverse operation. This function is making Z coordinates of both lightning edges equal to 0.
- return type
lightning
- Source code
native AddLightning takes string codeName, boolean checkVisibility, real x1, real y1, real x2, real y2 returns lightning
- Source
- effects.j
- wc3modding.com
- AddLightning