# Name Of Unit Type

Grammar — Name of unitType
FlagsNative | Function

Returns the name of a unit type.

# Arguments

  • string [ gamelink::Unit ] — Unit Type

Returns — text

native text UnitTypeGetName(string inUnitType);

Category: Unit / Properties

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L292
UnitTypeGetName(UnitGetType(lp_u))
// L19222
UnitTypeGetName(UnitGetType(EventUnit()))
// L9074
UnitTypeGetName(lv_unittype)
// L292
UnitTypeGetName(UnitGetType(lp_u))
// L19222
UnitTypeGetName(UnitGetType(EventUnit()))
// L9074
UnitTypeGetName(lv_unittype)

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L3277
UnitTypeGetName("Banshee")
// L3278
UnitTypeGetName("Battlecruiser")
// L3279
UnitTypeGetName("CivilianFemale")
// L3280
UnitTypeGetName("CivilianFemale")
// L3281
UnitTypeGetName("Civilian")
// L3282
UnitTypeGetName("Civilian")
// L3283
UnitTypeGetName("Goliath")
// L3285
UnitTypeGetName("Jackal")
// L3286
UnitTypeGetName("HighTemplar")
// L3289
UnitTypeGetName("Marine")

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L531
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L534
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L537
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L540
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L543
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L546
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L549
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L552
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L555
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L558
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L312
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L315
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L870
UnitTypeGetName(UnitGetType(UnitFromId(1627)))
// L954
UnitTypeGetName(UnitGetType(UnitFromId(54)))
// L539
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L542
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L1215
UnitTypeGetName(UnitGetType(UnitFromId(148)))
// L1656
UnitTypeGetName(UnitGetType(autoA9E1CE21_var))
// L1729
UnitTypeGetName(UnitGetType(gv_kerrigan))
// L1734
UnitTypeGetName(UnitGetType(gv_kerrigan2))
// L1159
UnitTypeGetName(UnitGetType(auto40B40B33_var))
// L581
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L584
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L587
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L590
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L593
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L596
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L610
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L956
UnitTypeGetName(UnitGetType(UnitLastCreated()))
// L1259
UnitTypeGetName(UnitGetType(auto3C76BEA1_var))
// L1261
UnitTypeGetName(UnitGetType(gv_eRADICATOR))
// L1118
UnitTypeGetName(UnitGetType(gv_s3_TramEngineUnits[auto8BD12173_var]))
// L1173
UnitTypeGetName(UnitGetType(gv_kerrigan22))
// L2476
UnitTypeGetName(UnitGetType(EventUnit()))
// L636
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L639
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L642
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L645
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L648
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L652
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L656
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L659
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L663
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L666
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L1402
UnitTypeGetName(UnitGetType(gv_playerBase))
// L683
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L312
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L315
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L870
UnitTypeGetName(UnitGetType(UnitFromId(1627)))
// L954
UnitTypeGetName(UnitGetType(UnitFromId(54)))
// L539
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L542
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L1215
UnitTypeGetName(UnitGetType(UnitFromId(148)))
// L1656
UnitTypeGetName(UnitGetType(autoA9E1CE21_var))
// L1729
UnitTypeGetName(UnitGetType(gv_kerrigan))
// L1734
UnitTypeGetName(UnitGetType(gv_kerrigan2))
// L1159
UnitTypeGetName(UnitGetType(auto40B40B33_var))
// L581
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L584
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L587
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L590
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L593
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L596
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L610
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L956
UnitTypeGetName(UnitGetType(UnitLastCreated()))
// L1259
UnitTypeGetName(UnitGetType(auto3C76BEA1_var))
// L1261
UnitTypeGetName(UnitGetType(gv_eRADICATOR))
// L1118
UnitTypeGetName(UnitGetType(gv_s3_TramEngineUnits[auto8BD12173_var]))
// L1173
UnitTypeGetName(UnitGetType(gv_kerrigan22))
// L2476
UnitTypeGetName(UnitGetType(EventUnit()))
// L636
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L639
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L642
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L645
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L648
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L652
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L656
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L659
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L663
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L666
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L1402
UnitTypeGetName(UnitGetType(gv_playerBase))
// L683
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L531
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))
// L534
UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT))