SetThingAttachFlags


Adds Attach Flags to a thing. Syntax:

SetThingAttachFlags(thing, flags);

SetThingAttachFlags() is a dangerous verb to use and will crash JK if the thing is not attached. Before LEC created AttachThingToThingEx(), they used SetThingAttachFlags() and AttachThingToThing() together to create a 0x8 attachment. Like this:

AttachThingToThing(thing1, thing2);
SetThingAttachFlags(thing1, 0x8);