Attach Flags


Attach Flags are used as settings for an attachment of one thing to another. AttachThingToThing() attaches a thing to a base thing with a 0x4 attachment. AttachThingToThingEx() also creates a 0x4 attachment, but allows you to add flags to the attachment with the third parameter. The "Used with" category is added to clarify that 0x4 is always used with a thing to thing attachment.

You may also use SetThingAttachFlags(), ClearThingAttachFlags(), and GetThingAttachFlags() to work with Attach Flags. But be careful, manually setting and clearing these flags can crash the game.