CreateDestructableLoc

Parameters
objectidinteger
loclocation
facingreal
scalereal
variationinteger
comment
patch

1.00

Source
Blizzard.j (suggest an edit or discuss on Github)
return type
destructable
Source code
function CreateDestructableLoc takes integer objectid, location loc, real facing, real scale, integer variation returns destructable
    set bj_lastCreatedDestructable = CreateDestructable(objectid, GetLocationX(loc), GetLocationY(loc), facing, scale, variation)
    return bj_lastCreatedDestructable
endfunction