# Order Set Target Point

Grammar — Set Target Point for inOrder to inPoint
FlagsNative | Action

# Arguments

  • order — Order
  • point — Point

Returns — void

native void OrderSetTargetPoint(
	order inOrder,
	point inPoint,
);

Category: Order / Orders To Be Issued

# Examples

# campaigns/liberty.sc2campaign

TactCampAI.galaxy

// L100
OrderSetTargetPoint(ord, loc)
// L389
OrderSetTargetPoint(ord, loc)
// L481
OrderSetTargetPoint(ord, loc)
// L100
OrderSetTargetPoint(ord, loc)
// L389
OrderSetTargetPoint(ord, loc)
// L481
OrderSetTargetPoint(ord, loc)
// L866
OrderSetTargetPoint(ord, loc)

# mods/core.sc2mod

TactProtAI.galaxy

// L158
OrderSetTargetPoint(ord, forceFieldTarget)
// L584
OrderSetTargetPoint(ord, targetPoint)
// L702
OrderSetTargetPoint(ord, loc)
// L1332
OrderSetTargetPoint(ord, UnitGetPosition(unitToCheck))
// L1519
OrderSetTargetPoint(ord, targetPoint)
// L1753
OrderSetTargetPoint(ord, loc)
// L1820
OrderSetTargetPoint(ord, loc)

# mods/core.sc2mod

TactTerrAI.galaxy

// L137
OrderSetTargetPoint(ord, loc)
// L525
OrderSetTargetPoint(ord, targetPoint)
// L1032
OrderSetTargetPoint(ord, UnitGetPosition(peon))
// L1061
OrderSetTargetPoint(ord, loc)
// L1263
OrderSetTargetPoint(ord, UnitGetPosition(aiUnit))
// L1368
OrderSetTargetPoint(ord, loc)
// L1784
OrderSetTargetPoint(ord, UnitGetPosition(aiUnit))
// L1823
OrderSetTargetPoint(ord, bestPoint)

# mods/core.sc2mod

TactZergAI.galaxy

// L236
OrderSetTargetPoint(ord, loc)
// L550
OrderSetTargetPoint(ord, loc)
// L613
OrderSetTargetPoint(ord, castPoint)
// L1184
OrderSetTargetPoint(ord, UnitGetPosition(aiUnit))
// L1202
OrderSetTargetPoint(ord, UnitGetPosition(bestDropOff))

# mods/starcoop/starcoop.sc2mod

TactCampAI.galaxy

// L51
OrderSetTargetPoint(ord, loc)
// L97
OrderSetTargetPoint(ord, loc)
// L242
OrderSetTargetPoint(ord, loc)
// L450
OrderSetTargetPoint(ord, loc)
// L745
OrderSetTargetPoint(ord, loc)
// L837
OrderSetTargetPoint(ord, loc)
// L1236
OrderSetTargetPoint(ord, loc)
// L1518
OrderSetTargetPoint(ord, loc)

# mods/starcoop/starcoop.sc2mod

TactProtAI.galaxy

// L160
OrderSetTargetPoint(ord, forceFieldTarget)
// L566
OrderSetTargetPoint(ord, targetPoint)
// L680
OrderSetTargetPoint(ord, loc)
// L1293
OrderSetTargetPoint(ord, loc)
// L1520
OrderSetTargetPoint(ord, targetPoint)
// L1742
OrderSetTargetPoint(ord, loc)
// L1809
OrderSetTargetPoint(ord, loc)

# mods/starcoop/starcoop.sc2mod

TactTerrAI.galaxy

// L140
OrderSetTargetPoint(ord, loc)
// L505
OrderSetTargetPoint(ord, targetPoint)
// L993
OrderSetTargetPoint(ord, UnitGetPosition(peon))
// L1041
OrderSetTargetPoint(ord, loc)
// L1235
OrderSetTargetPoint(ord, UnitGetPosition(aiUnit))
// L1340
OrderSetTargetPoint(ord, loc)
// L1738
OrderSetTargetPoint(ord, UnitGetPosition(aiUnit))
// L1777
OrderSetTargetPoint(ord, bestPoint)

# mods/starcoop/starcoop.sc2mod

TactZergAI.galaxy

// L274
OrderSetTargetPoint(ord, loc)
// L313
OrderSetTargetPoint(ord, loc)
// L761
OrderSetTargetPoint(ord, loc)
// L824
OrderSetTargetPoint(ord, castPoint)
// L1379
OrderSetTargetPoint(ord, UnitGetPosition(aiUnit))
// L1397
OrderSetTargetPoint(ord, UnitGetPosition(bestDropOff))

# mods/warcoop/warclassicsystem.sc2mod

TacticalAIWar3.galaxy

// L93
OrderSetTargetPoint(ord,UnitGetPosition(town))
// L317
OrderSetTargetPoint(ord, loc)