call AddLightningEx("Lightning Name", true, x1, y1, z1, x2, y2, z2)
native AddLightningEx takes string codeName,boolean checkVisibility,real x1,real y1,real z1,real x2,real y2,real z2 returns lightning
native MoveLightningEx takes lightning whichBolt, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 returns boolean
You have a syntax error. The script code you have written makes no sense to the JASS interpreter.this doesnt work. it says theres an error and the trigger is deactivated. but i am using the custom script. is thst the reason?