CreateDestructableLoc

Parameters
objectid integer
loc location
facing real
scale real
variation integer
comment
patch

1.00

Source
Blizzard.j
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