# Order Set Flag

Grammar — Set flag to be value for order
FlagsNative | Action

Returns true if the specified flag is enabled.

# Arguments

  • order — Order
  • int [ preset::OrderFlag ] — Flag
  • bool — Value

Returns — void

native void OrderSetFlag(
	order inOrder,
	int inFlag,
	bool inValue,
);

Category: Order / Order Properties

# Examples

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L21428
OrderSetFlag(lv_orderAttack, c_cmdQueued, lv_queue)
// L24044
OrderSetFlag(lv_order, c_cmdSmartClick, true)
// L24045
OrderSetFlag(lv_order, c_cmdQueued, lv_isQueuedOrder)
// L24115
OrderSetFlag(lv_order, c_cmdSmartClick, true)