AddLightningLoc

Parameters
codeName string
where1 location
where2 location
comment
patch

1.17a

Source
Blizzard.j
return type
lightning
Source code
function AddLightningLoc takes string codeName, location where1, location where2 returns lightning
    set bj_lastCreatedLightning = AddLightningEx(codeName, true, GetLocationX(where1), GetLocationY(where1), GetLocationZ(where1), GetLocationX(where2), GetLocationY(where2), GetLocationZ(where2))
    return bj_lastCreatedLightning
endfunction