# Convert Unit To Unit Group

Grammar — Unit group(unit)
FlagsFunction

Takes one unit and creates a unit group out of it.

# Arguments

  • unit — Unit

Returns — unitgroup

unitgroup libNtve_gf_ConvertUnitToUnitGroup(unit lp_unit);

Category: Unit Group / Useful Unit Groups

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L329
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L332
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L343
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L346
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L357
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L360
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L378
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L381
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L400
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L403
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L9916
libNtve_gf_ConvertUnitToUnitGroup(lv_victoryVoidSeeker)
// L9925
libNtve_gf_ConvertUnitToUnitGroup(lv_victoryVoidSeeker)
// L329
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L332
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L343
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L346
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L357
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L360
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L378
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L381
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L400
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L403
libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe)
// L9916
libNtve_gf_ConvertUnitToUnitGroup(lv_victoryVoidSeeker)
// L9925
libNtve_gf_ConvertUnitToUnitGroup(lv_victoryVoidSeeker)
// L2878
libNtve_gf_ConvertUnitToUnitGroup(gv_s1_PatrollingObserver01)
// L2887
libNtve_gf_ConvertUnitToUnitGroup(gv_s1_PatrollingObserver02)
// L2896
libNtve_gf_ConvertUnitToUnitGroup(gv_s1_PatrollingObserver03)
// L2842
libNtve_gf_ConvertUnitToUnitGroup(gv_zagara)
// L3461
libNtve_gf_ConvertUnitToUnitGroup(gv_zagara)
// L3464
libNtve_gf_ConvertUnitToUnitGroup(gv_zagara)
// L527
libNtve_gf_ConvertUnitToUnitGroup(lv_hybrid)
// L5557
libNtve_gf_ConvertUnitToUnitGroup(gv_kerrigan)
// L2842
libNtve_gf_ConvertUnitToUnitGroup(gv_zagara)
// L3461
libNtve_gf_ConvertUnitToUnitGroup(gv_zagara)
// L3464
libNtve_gf_ConvertUnitToUnitGroup(gv_zagara)
// L527
libNtve_gf_ConvertUnitToUnitGroup(lv_hybrid)
// L5557
libNtve_gf_ConvertUnitToUnitGroup(gv_kerrigan)
// L2878
libNtve_gf_ConvertUnitToUnitGroup(gv_s1_PatrollingObserver01)
// L2887
libNtve_gf_ConvertUnitToUnitGroup(gv_s1_PatrollingObserver02)
// L2896
libNtve_gf_ConvertUnitToUnitGroup(gv_s1_PatrollingObserver03)
// L3901
libNtve_gf_ConvertUnitToUnitGroup(gv_basic01Marine)
// L5053
libNtve_gf_ConvertUnitToUnitGroup(gv_invisHelper)
// L6053
libNtve_gf_ConvertUnitToUnitGroup(gv_invisHelper)
// L6468
libNtve_gf_ConvertUnitToUnitGroup(gv_terranCommandCenter)
// L7069
libNtve_gf_ConvertUnitToUnitGroup(gv_invisHelper)
// L7635
libNtve_gf_ConvertUnitToUnitGroup(gv_terranCommandCenter)
// L8206
libNtve_gf_ConvertUnitToUnitGroup(gv_invisHelper)
// L8598
libNtve_gf_ConvertUnitToUnitGroup(gv_terran03Barracks)
// L8922
libNtve_gf_ConvertUnitToUnitGroup(gv_invisHelper)
// L9333
libNtve_gf_ConvertUnitToUnitGroup(gv_invisHelper)
// L4261
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L4347
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L4437
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L4528
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L4626
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L4722
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L4815
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L4908
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L5003
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L5116
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L729
libNtve_gf_ConvertUnitToUnitGroup(lv_escortUnit)
// L3176
libNtve_gf_ConvertUnitToUnitGroup(lv_warpPrism)
// L3335
libNtve_gf_ConvertUnitToUnitGroup(lv_warpPrism)
// L3000
libNtve_gf_ConvertUnitToUnitGroup(gv_tugOfWarEscortTargetUnit)
// L3139
libNtve_gf_ConvertUnitToUnitGroup(gv_tugOfWarEscortTargetUnit)
// L4556
libNtve_gf_ConvertUnitToUnitGroup(gv_cinematicAlarak)
// L4569
libNtve_gf_ConvertUnitToUnitGroup(gv_cinematicAlarak)
// L2029
libNtve_gf_ConvertUnitToUnitGroup(gv_titanicWarpPrism)
// L623
libNtve_gf_ConvertUnitToUnitGroup(lp_construct)
// L3901
libNtve_gf_ConvertUnitToUnitGroup(gv_basic01Marine)
// L5053
libNtve_gf_ConvertUnitToUnitGroup(gv_invisHelper)
// L6053
libNtve_gf_ConvertUnitToUnitGroup(gv_invisHelper)
// L6468
libNtve_gf_ConvertUnitToUnitGroup(gv_terranCommandCenter)
// L7069
libNtve_gf_ConvertUnitToUnitGroup(gv_invisHelper)
// L7635
libNtve_gf_ConvertUnitToUnitGroup(gv_terranCommandCenter)
// L8206
libNtve_gf_ConvertUnitToUnitGroup(gv_invisHelper)
// L8598
libNtve_gf_ConvertUnitToUnitGroup(gv_terran03Barracks)
// L8922
libNtve_gf_ConvertUnitToUnitGroup(gv_invisHelper)
// L9333
libNtve_gf_ConvertUnitToUnitGroup(gv_invisHelper)
// L4261
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L4347
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L4437
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L4528
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L4626
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L4722
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L4815
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L4908
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L5003
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L5116
libNtve_gf_ConvertUnitToUnitGroup(lv_lv_EscortTargetUnit)
// L729
libNtve_gf_ConvertUnitToUnitGroup(lv_escortUnit)
// L3176
libNtve_gf_ConvertUnitToUnitGroup(lv_warpPrism)
// L3335
libNtve_gf_ConvertUnitToUnitGroup(lv_warpPrism)
// L3000
libNtve_gf_ConvertUnitToUnitGroup(gv_tugOfWarEscortTargetUnit)
// L3139
libNtve_gf_ConvertUnitToUnitGroup(gv_tugOfWarEscortTargetUnit)
// L4556
libNtve_gf_ConvertUnitToUnitGroup(gv_cinematicAlarak)
// L4569
libNtve_gf_ConvertUnitToUnitGroup(gv_cinematicAlarak)
// L2029
libNtve_gf_ConvertUnitToUnitGroup(gv_titanicWarpPrism)
// L623
libNtve_gf_ConvertUnitToUnitGroup(lp_construct)

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L662
libNtve_gf_ConvertUnitToUnitGroup(lp_unit)
// L4645
libNtve_gf_ConvertUnitToUnitGroup(libVCMI_gv_pM_SoATargetingUnit[libVCMI_gv_pM_SoATargetingChargesSpent])