AttachThingToSurf


Apparently, this verb tries to attach a thing to a surface and add the 0x1 Attach Flag. But the exe seems to foil the action and reset the thing's Attach Flags. Altogether, this seems to be a useless verb with no practical purpose. Syntax:

AttachThingToSurf(thing, surface);

Strangely, if the surface is a wall, the entered message of the surface's sector is called no matter where the thing is, and yet the thing's sector is not set to the surface's. And also, AttachThingToSurf() sometimes tries to make the thing move to the z axis of the surface - either by a small distance or gradually.