TerrainDeformationCraterBJ

Parameters
durationreal
permanentboolean
wherelocation
radiusreal
depthreal
comment
patch

1.07

Source
Blizzard.j (suggest an edit or discuss on Github)
return type
terraindeformation
Source code
function TerrainDeformationCraterBJ takes real duration, boolean permanent, location where, real radius, real depth returns terraindeformation
    set bj_lastCreatedTerrainDeformation = TerrainDeformCrater(GetLocationX(where), GetLocationY(where), radius, depth, R2I(duration * 1000), permanent)
    return bj_lastCreatedTerrainDeformation
endfunction