- Joined
- Nov 14, 2008
- Messages
- 3,256
which one is the best to move lightning
1.
2.
and can someone explain to me how they both work (A)
1.
JASS:
native MoveLightningEx takes lightning whichBolt, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 returns boolean
2.
JASS:
function MoveLightningLoc takes lightning whichBolt, location where1, location where2 returns boolean
return MoveLightningEx(whichBolt, true, GetLocationX(where1), GetLocationY(where1), GetLocationZ(where1), GetLocationX(where2), GetLocationY(where2), GetLocationZ(where2))
endfunction
and can someone explain to me how they both work (A)