# Unit Type Uses Mover

GrammarunitType uses mover mover
FlagsFunction

Returns true if a unit type uses the specified mover.

# Arguments

  • string [ gamelink::Unit ] — UnitType
  • string [ gamelink::Mover ] — Mover

Returns — bool

bool libNtve_gf_UnitMoverExists(
	string lp_unitType,
	string lp_mover,
);

Category: Unit / Properties

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L2047
libNtve_gf_UnitMoverExists(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_unitType, "Fly")
// L554
libNtve_gf_UnitMoverExists(lp_gankUnitType, "Fly")
// L2047
libNtve_gf_UnitMoverExists(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_unitType, "Fly")
// L554
libNtve_gf_UnitMoverExists(lp_gankUnitType, "Fly")