# Create Path Display For Unit Type

Grammar — Create Path Display For unitType With Data From Player unitPlayer For players At source
FlagsNative | Action

# Arguments

  • playergroup — Players
  • string [ gamelink::Unit ] — Unit Type
  • int — Unit Player
  • point — Source

Returns — int [ path ]

native int PathCreateForUnitType(
	playergroup inPlayerGroup,
	string inType,
	int inPlayer,
	point inSource,
);

Category: UI / Path Display

# Examples

# mods/heroes.stormmod

MapScript.galaxy

// L334
PathCreateForUnitType(PlayerGroupAll(), "FootmanMinion", libStEx_gv_pLAYER_11_ORDER, PointFromId(1129906521))
// L347
PathCreateForUnitType(PlayerGroupAll(), "FootmanMinion", libStEx_gv_pLAYER_11_ORDER, PointFromId(597304232))
// L363
PathCreateForUnitType(PlayerGroupAll(), "FootmanMinion", libStEx_gv_pLAYER_11_ORDER, PointFromId(984793316))
// L334
PathCreateForUnitType(PlayerGroupAll(), "FootmanMinion", libStEx_gv_pLAYER_11_ORDER, PointFromId(1129906521))
// L347
PathCreateForUnitType(PlayerGroupAll(), "FootmanMinion", libStEx_gv_pLAYER_11_ORDER, PointFromId(597304232))
// L363
PathCreateForUnitType(PlayerGroupAll(), "FootmanMinion", libStEx_gv_pLAYER_11_ORDER, PointFromId(984793316))