MoveLightning

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.

x2 real

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

y2 real

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

comment

Moves a lightning.

patch

1.17a

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