DetachThing
Breaks an attachment when given the attached object. DetachThing() does more than clear the thing's
Attach Flags - it stops the attachment. That is why
ClearThingAttachFlags() cannot perform this
function. Syntax:
DetachThing(attach_thing);