# Flag Is Enabled For Order

Grammarflag is enabled for order
FlagsNative | Function

Returns true if the specified flag is enabled.

# Arguments

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

Returns — bool

native bool OrderGetFlag(order inOrder, int inFlag);

Category: Order / Order Properties

# Examples

# campaigns/void.sc2campaign

MapScript.galaxy

// L3002
OrderGetFlag(EventUnitOrder(), c_cmdQueued)
// L3002
OrderGetFlag(EventUnitOrder(), c_cmdQueued)

# mods/balancemulti.sc2mod

VoidMultiLib.galaxy

// L45
OrderGetFlag(lv_order, c_cmdUser)
// L86
OrderGetFlag(lv_order, c_cmdUser)
// L90
OrderGetFlag(lv_order, c_cmdQueued)
// L131
OrderGetFlag(lv_order, c_cmdUser)
// L135
OrderGetFlag(lv_order, c_cmdQueued)
// L171
OrderGetFlag(lv_order, c_cmdUser)
// L175
OrderGetFlag(lv_order, c_cmdQueued)
// L271
OrderGetFlag(lv_order, c_cmdUser)
// L275
OrderGetFlag(lv_order, c_cmdQueued)
// L45
OrderGetFlag(lv_order, c_cmdUser)
// L86
OrderGetFlag(lv_order, c_cmdUser)
// L90
OrderGetFlag(lv_order, c_cmdQueued)
// L131
OrderGetFlag(lv_order, c_cmdUser)
// L135
OrderGetFlag(lv_order, c_cmdQueued)
// L171
OrderGetFlag(lv_order, c_cmdUser)
// L175
OrderGetFlag(lv_order, c_cmdQueued)
// L271
OrderGetFlag(lv_order, c_cmdUser)
// L275
OrderGetFlag(lv_order, c_cmdQueued)
// L45
OrderGetFlag(lv_order, c_cmdUser)
// L86
OrderGetFlag(lv_order, c_cmdUser)
// L90
OrderGetFlag(lv_order, c_cmdQueued)
// L131
OrderGetFlag(lv_order, c_cmdUser)
// L135
OrderGetFlag(lv_order, c_cmdQueued)
// L171
OrderGetFlag(lv_order, c_cmdUser)
// L175
OrderGetFlag(lv_order, c_cmdQueued)
// L271
OrderGetFlag(lv_order, c_cmdUser)
// L275
OrderGetFlag(lv_order, c_cmdQueued)

# mods/heroesdata.stormmod

GameDataHelperLib.galaxy

// L22058
OrderGetFlag(EventUnitOrder(), c_cmdQueued)

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L14208
OrderGetFlag(lv_order, c_cmdQueued)
// L17845
OrderGetFlag(EventUnitOrder(), c_cmdUser)
// L17849
OrderGetFlag(EventUnitOrder(), c_cmdQueued)
// L21419
OrderGetFlag(lv_order, c_cmdQueued)
// L24011
OrderGetFlag(lv_orderDummy, c_cmdUser)
// L24012
OrderGetFlag(lv_orderDummy, c_cmdSetAutoCast)
// L24013
OrderGetFlag(lv_orderDummy, c_cmdQueued)
// L24087
OrderGetFlag(lv_orderDummy, c_cmdUser)
// L24088
OrderGetFlag(lv_orderDummy, c_cmdQueued)
// L28089
OrderGetFlag(lv_order, c_cmdUser)

# mods/starcoop/starcoop.sc2mod

LibCOMU.galaxy

// L1154
OrderGetFlag(lp_order, c_cmdUser)
// L1716
OrderGetFlag(lp_order, 8)
// L1738
OrderGetFlag(lp_order, 8)

# mods/voidmulti.sc2mod

VoidMultiLib.galaxy

// L45
OrderGetFlag(lv_order, c_cmdUser)
// L86
OrderGetFlag(lv_order, c_cmdUser)
// L90
OrderGetFlag(lv_order, c_cmdQueued)
// L131
OrderGetFlag(lv_order, c_cmdUser)
// L135
OrderGetFlag(lv_order, c_cmdQueued)
// L171
OrderGetFlag(lv_order, c_cmdUser)
// L175
OrderGetFlag(lv_order, c_cmdQueued)
// L271
OrderGetFlag(lv_order, c_cmdUser)
// L275
OrderGetFlag(lv_order, c_cmdQueued)

# mods/warcoop/warclassicsystem.sc2mod

WarClassicSystem.galaxy

// L1521
OrderGetFlag(lv_order, c_cmdQueued)