- Code: Select all
local unit = CreateUnitHPR(whatever goes here)
unit:GetBlueprint().Wreckage = nil
That removes the wreckages of the unit, though unfortunately also of every other unit that has the same blueprint. Is there a way to remove the wreckage of a specific unit (in a map script)?