MoveLightningEx

Parameters
whichBolt lightning

The lightning to be moved.

checkVisibility boolean

If this is true, the lightning won't be moved (at all) unless the local player currently has visibility of at least one of the new endpoints.

x1 real

x-coordinate (World) of the new source point.

y1 real

y-coordinate (World) of the new source point.

z1 real

z-coordinate (World) of the new source point.

x2 real

x-coordinate (World) of the new target point.

y2 real

y-coordinate (World) of the new target point.

z2 real

z-coordinate (World) of the new target point.

comment

Moves a lightning.

patch

1.18a

Source
common.j
return type
boolean
Source code
native MoveLightningEx              takes lightning whichBolt, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 returns boolean