Do you really need UMSWE for the terrain? O.o I never had any problems with it
dunno if or why AddLightningLoc should bug
but
Code
native AddLightning takes string codeName, boolean checkVisibility, real x1, real y1, real x2, real y2 returns lightning
definitely works