# Target Position For Order

Grammar — Target position for o
FlagsNative | Function

Returns the position of the target for an order, regardless of what type of target it is.

# Arguments

  • order — Order

Returns — point

native point OrderGetTargetPosition(order inOrder);

Category: Order / Order Properties

# Examples

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L17229
OrderGetTargetPosition(UnitOrder(EventUnitCreatedUnit(), 0))

# mods/heroesdata.stormmod

GameDataHelperLib.galaxy

// L3152
OrderGetTargetPosition(UnitOrder(lv_rexxar, 0))
// L3154
OrderGetTargetPosition(UnitOrder(lv_rexxar, 0))
// L3155
OrderGetTargetPosition(UnitOrder(lv_rexxar, 0))
// L3156
OrderGetTargetPosition(UnitOrder(lv_rexxar, 0))
// L3162
OrderGetTargetPosition(UnitOrder(lv_misha, 0))
// L3205
OrderGetTargetPosition(UnitOrder(lv_rexxar, 1))
// L3229
OrderGetTargetPosition(UnitOrder(lv_rexxar, 0))
// L3230
OrderGetTargetPosition(UnitOrder(lv_rexxar, 0))
// L3248
OrderGetTargetPosition(UnitOrder(lv_rexxar, 0))
// L3287
OrderGetTargetPosition(UnitOrder(lv_misha, 0))

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L27763
OrderGetTargetPosition(EventUnitOrder())
// L27785
OrderGetTargetPosition(EventUnitOrder())

# mods/starcoop/starcoop.sc2mod

LibCOMU.galaxy

// L1720
OrderGetTargetPosition(lp_order)
// L1738
OrderGetTargetPosition(lp_order)
// L1742
OrderGetTargetPosition(lp_order)