# Unit Is Cargo

Grammaru is cargo
FlagsFunction

Returns true if the specified unit is considered a cargo unit.

# Arguments

  • unit — Unit

Returns — bool

bool libNtve_gf_UnitIsInsideTransport(unit lp_u);

Category: Unit / Cargo

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L660
libNtve_gf_UnitIsInsideTransport(lp_cargo)
// L660
libNtve_gf_UnitIsInsideTransport(lp_cargo)
// L4524
libNtve_gf_UnitIsInsideTransport(autoC351DCC5_var)
// L4606
libNtve_gf_UnitIsInsideTransport(auto11392D0A_var)
// L4524
libNtve_gf_UnitIsInsideTransport(autoC351DCC5_var)
// L4606
libNtve_gf_UnitIsInsideTransport(auto11392D0A_var)
// L1878
libNtve_gf_UnitIsInsideTransport(auto1D1ECC95_var)
// L2015
libNtve_gf_UnitIsInsideTransport(auto05AF8105_var)
// L2028
libNtve_gf_UnitIsInsideTransport(auto9B8D08C5_var)
// L1878
libNtve_gf_UnitIsInsideTransport(auto1D1ECC95_var)
// L2015
libNtve_gf_UnitIsInsideTransport(auto05AF8105_var)
// L2028
libNtve_gf_UnitIsInsideTransport(auto9B8D08C5_var)

# mods/heroesdata.stormmod

GameDataHelperLib.galaxy

// L14077
libNtve_gf_UnitIsInsideTransport(lv_vikingCargoUnit)
// L16117
libNtve_gf_UnitIsInsideTransport(libGame_gv_players[lv_cargoPlayer].lv_heroUnit)
// L20174
libNtve_gf_UnitIsInsideTransport(libGame_gv_players[libGame_gf_HeroEnteredTransportPlayerEntering()].lv_activeVehicle)
// L20174
libNtve_gf_UnitIsInsideTransport(libGame_gv_players[libGame_gf_HeroEnteredTransportPlayerEntering()].lv_heroUnit)

# mods/heroesdata.stormmod

GameLib.galaxy

// L16200
libNtve_gf_UnitIsInsideTransport(lv_heroUnit)
// L21198
libNtve_gf_UnitIsInsideTransport(libGame_gv_players[lv_player].lv_heroUnit)
// L21255
libNtve_gf_UnitIsInsideTransport(libGame_gv_players[lv_player].lv_heroUnit)

# mods/heroesdata.stormmod

UILib.galaxy

// L7110
libNtve_gf_UnitIsInsideTransport(lv_targetUnit)

# mods/heromods/dva.stormmod

LibHDVA.galaxy

// L442
libNtve_gf_UnitIsInsideTransport(lv_pilotUnit)
// L1658
libNtve_gf_UnitIsInsideTransport(lv_dVaUnit)
// L1693
libNtve_gf_UnitIsInsideTransport(lv_dVaPilot)
// L1791
libNtve_gf_UnitIsInsideTransport(lv_dVaHeroUnit)

# mods/heromods/samuro.stormmod

LibHSAM.galaxy

// L645
libNtve_gf_UnitIsInsideTransport(lv_samuroCargoUnit)

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L5673
libNtve_gf_UnitIsInsideTransport(UnitGroupLoopCurrent())
// L1098
libNtve_gf_UnitIsInsideTransport(gv_cinematicNova)
// L1133
libNtve_gf_UnitIsInsideTransport(gv_cinematicNova)
// L1199
libNtve_gf_UnitIsInsideTransport(lp_tank)
// L2188
libNtve_gf_UnitIsInsideTransport(lv_infestedSiegeTank)
// L4294
libNtve_gf_UnitIsInsideTransport(UnitGroupLoopCurrent())
// L4310
libNtve_gf_UnitIsInsideTransport(UnitGroupLoopCurrent())
// L4331
libNtve_gf_UnitIsInsideTransport(UnitGroupLoopCurrent())
// L5673
libNtve_gf_UnitIsInsideTransport(UnitGroupLoopCurrent())
// L1098
libNtve_gf_UnitIsInsideTransport(gv_cinematicNova)
// L1133
libNtve_gf_UnitIsInsideTransport(gv_cinematicNova)
// L1199
libNtve_gf_UnitIsInsideTransport(lp_tank)
// L2188
libNtve_gf_UnitIsInsideTransport(lv_infestedSiegeTank)
// L4294
libNtve_gf_UnitIsInsideTransport(UnitGroupLoopCurrent())
// L4310
libNtve_gf_UnitIsInsideTransport(UnitGroupLoopCurrent())
// L4331
libNtve_gf_UnitIsInsideTransport(UnitGroupLoopCurrent())

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L33196
libNtve_gf_UnitIsInsideTransport(lv_indexUnit)