#define SF_SETORIGIN_CONST_UPDATE BIT(0) // The entity will constantly update position if set
#define SF_SETORIGIN_REMOVEFIRE BIT(2) // The entity will be removed after firing.
#define SF_SETORIGIN_LOCK_OFFSETS BIT(3) // Save the offset between the Target entity and the Copy pointer,
// apply offset when updating the Target entity's position (Requires "Constant" flag)
#define SF_SETORIGIN_COPY_ANGLE_X BIT(4)
#define SF_SETORIGIN_COPY_ANGLE_Y BIT(5)
#define SF_SETORIGIN_COPY_ANGLE_Z BIT(6)
#define SF_SETORIGIN_COPY_AXIS_X BIT(7)
#define SF_SETORIGIN_COPY_AXIS_Y BIT(8)
#define SF_SETORIGIN_COPY_AXIS_Z BIT(9)
#define SF_SETORIGIN_SKIP_INITIAL BIT(10) // If you're using the Constant flag, check this box to NOT move the origin of the entity or set the angles initially.
// If you're not using the Constant flag, make sure this isn't enabled or trigger_setorigin won't do anything.
//
// This allows the "Constant" + "offset difference" combination to work as intended from the entity's original location.
//
// You would leave this off if you needed to move the entity to an initial position before having it follow another entity.
// (If this isn't set, trigger_setorigin will move the entity to it's copypointer's origin before doing the offset difference calculation)