# Unit Uses Mover

Grammaru uses mover mover
FlagsNative | Function

Returns true if a unit uses the specified mover.

# Arguments

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

Returns — bool

native bool UnitMoverExists(unit inUnit, string inMover);

Category: Unit / Properties

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L1001
UnitMoverExists(EventUnitDamageSourceUnit(), "Fly")
// L656
UnitMoverExists(auto0FCC7E16_var, "Fly")
// L5181
UnitMoverExists(EventUnit(), "Fly")
// L5227
UnitMoverExists(EventUnit(), "Fly")
// L5273
UnitMoverExists(EventUnit(), "Fly")
// L1001
UnitMoverExists(EventUnitDamageSourceUnit(), "Fly")
// L656
UnitMoverExists(auto0FCC7E16_var, "Fly")
// L5181
UnitMoverExists(EventUnit(), "Fly")
// L5227
UnitMoverExists(EventUnit(), "Fly")
// L5273
UnitMoverExists(EventUnit(), "Fly")
// L2974
UnitMoverExists(EventUnit(), "Fly")
// L2974
UnitMoverExists(EventUnit(), "Fly")

# mods/starcoop/starcoop.sc2mod

LibCOMU.galaxy

// L2395
UnitMoverExists(lp_aIUnit, "PrimalSlashUpgradedMover")