# Player For Order

Grammar — Player for o
FlagsNative | Function

Returns the player number that the order is issued for.

# Arguments

  • order — Order

Returns — int

native int OrderGetPlayer(order inOrder);

Category: Order / Order Properties

# Examples

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L14233
OrderGetPlayer(lv_order)
// L21483
OrderGetPlayer(lv_order)

# mods/starcoop/starcoop.sc2mod

LibCOMU.galaxy

// L1153
OrderGetPlayer(lp_order)

# mods/warcoop/warclassicsystem.sc2mod

WarClassicSystem.galaxy

// L1516
OrderGetPlayer(lv_order)