# Make Unit Invulnerable

Grammar — Make unit option|Vulnerable/Invulnerable
FlagsAction

Makes a unit vulnerable or invulnerable.

# Arguments

Returns — void

void libNtve_gf_MakeUnitInvulnerable(
	unit lp_unit,
	bool lp_option,
);

Category: Unit / Properties

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L924
libNtve_gf_MakeUnitInvulnerable(UnitGroupLoopCurrent(), true)
// L741
libNtve_gf_MakeUnitInvulnerable(UnitGroupLoopCurrent(), true)
// L872
libNtve_gf_MakeUnitInvulnerable(UnitGroupLoopCurrent(), true)
// L932
libNtve_gf_MakeUnitInvulnerable(UnitGroupLoopCurrent(), true)
// L627
libNtve_gf_MakeUnitInvulnerable(gv_viking, true)
// L3167
libNtve_gf_MakeUnitInvulnerable(gv_viking, true)
// L4754
libNtve_gf_MakeUnitInvulnerable(gv_viking, true)
// L5225
libNtve_gf_MakeUnitInvulnerable(gv_boss, true)
// L5229
libNtve_gf_MakeUnitInvulnerable(gv_boss, false)
// L5265
libNtve_gf_MakeUnitInvulnerable(gv_viking, true)
// L5675
libNtve_gf_MakeUnitInvulnerable(gv_boss, true)
// L5680
libNtve_gf_MakeUnitInvulnerable(gv_boss, false)
// L5747
libNtve_gf_MakeUnitInvulnerable(gv_viking, true)
// L7783
libNtve_gf_MakeUnitInvulnerable(gv_viking, false)
// L3824
libNtve_gf_MakeUnitInvulnerable(lv_unit, true)
// L5067
libNtve_gf_MakeUnitInvulnerable(UnitFromId(1403), true)
// L5068
libNtve_gf_MakeUnitInvulnerable(UnitFromId(698), true)
// L5069
libNtve_gf_MakeUnitInvulnerable(UnitFromId(693), true)
// L5070
libNtve_gf_MakeUnitInvulnerable(UnitFromId(1483), true)
// L5889
libNtve_gf_MakeUnitInvulnerable(UnitLastCreated(), true)
// L6292
libNtve_gf_MakeUnitInvulnerable(autoD4CD02CB_var, false)
// L6338
libNtve_gf_MakeUnitInvulnerable(UnitFromId(693), true)
// L2652
libNtve_gf_MakeUnitInvulnerable(lv_factory, false)
// L614
libNtve_gf_MakeUnitInvulnerable(gv_purifier, true)
// L1129
libNtve_gf_MakeUnitInvulnerable(gv_purifier, false)
// L3201
libNtve_gf_MakeUnitInvulnerable(lv_colonistShip, true)
// L3318
libNtve_gf_MakeUnitInvulnerable(lv_colonistShip, true)
// L3435
libNtve_gf_MakeUnitInvulnerable(lv_colonistShip, true)
// L5987
libNtve_gf_MakeUnitInvulnerable(gv_purifier, false)
// L5765
libNtve_gf_MakeUnitInvulnerable(UnitFromId(90), true)
// L437
libNtve_gf_MakeUnitInvulnerable(autoD9E2A2C7_var, true)
// L444
libNtve_gf_MakeUnitInvulnerable(gv_odin, true)
// L450
libNtve_gf_MakeUnitInvulnerable(UnitFromId(109), true)
// L467
libNtve_gf_MakeUnitInvulnerable(UnitFromId(341), true)
// L468
libNtve_gf_MakeUnitInvulnerable(UnitFromId(935), true)
// L487
libNtve_gf_MakeUnitInvulnerable(UnitFromId(835), true)
// L1183
libNtve_gf_MakeUnitInvulnerable(UnitFromId(4), true)
// L1569
libNtve_gf_MakeUnitInvulnerable(lv_starport, false)
// L1834
libNtve_gf_MakeUnitInvulnerable(UnitFromId(835), false)
// L4441
libNtve_gf_MakeUnitInvulnerable(UnitFromId(2), true)
// L921
libNtve_gf_MakeUnitInvulnerable(autoF69A218C_var, true)
// L948
libNtve_gf_MakeUnitInvulnerable(auto604BE6FC_var, true)
// L2758
libNtve_gf_MakeUnitInvulnerable(gv_odin, true)
// L2814
libNtve_gf_MakeUnitInvulnerable(lv_dropship, true)
// L4570
libNtve_gf_MakeUnitInvulnerable(gv_odin, true)
// L893
libNtve_gf_MakeUnitInvulnerable(gv_warbot, true)
// L900
libNtve_gf_MakeUnitInvulnerable(UnitFromId(162), true)
// L901
libNtve_gf_MakeUnitInvulnerable(UnitFromId(202), true)
// L902
libNtve_gf_MakeUnitInvulnerable(UnitFromId(298), true)
// L904
libNtve_gf_MakeUnitInvulnerable(UnitFromId(2658), true)
// L905
libNtve_gf_MakeUnitInvulnerable(UnitFromId(282), true)
// L906
libNtve_gf_MakeUnitInvulnerable(UnitFromId(421), true)
// L907
libNtve_gf_MakeUnitInvulnerable(UnitFromId(427), true)
// L2333
libNtve_gf_MakeUnitInvulnerable(UnitFromId(202), true)
// L2367
libNtve_gf_MakeUnitInvulnerable(UnitFromId(421), true)
// L2653
libNtve_gf_MakeUnitInvulnerable(auto7C99916A_var, false)
// L634
libNtve_gf_MakeUnitInvulnerable(UnitFromId(258), true)
// L5524
libNtve_gf_MakeUnitInvulnerable(lv_nydusWorm, true)
// L5585
libNtve_gf_MakeUnitInvulnerable(lv_nydusWorm, true)
// L5647
libNtve_gf_MakeUnitInvulnerable(lv_nydusWorm, true)
// L5709
libNtve_gf_MakeUnitInvulnerable(lv_nydusWorm, true)
// L5775
libNtve_gf_MakeUnitInvulnerable(lv_nydusWorm, true)
// L412
libNtve_gf_MakeUnitInvulnerable(UnitFromId(660), true)
// L2038
libNtve_gf_MakeUnitInvulnerable(lv_dropship, true)
// L827
libNtve_gf_MakeUnitInvulnerable(gv_victoryTerrazine, true)
// L713
libNtve_gf_MakeUnitInvulnerable(UnitFromId(922), true)
// L724
libNtve_gf_MakeUnitInvulnerable(UnitFromId(120), true)
// L728
libNtve_gf_MakeUnitInvulnerable(UnitFromId(126), true)
// L785
libNtve_gf_MakeUnitInvulnerable(gv_ghostEMP, true)
// L1728
libNtve_gf_MakeUnitInvulnerable(gv_ghostEMP, false)
// L1771
libNtve_gf_MakeUnitInvulnerable(gv_ghostEMP, false)
// L626
libNtve_gf_MakeUnitInvulnerable(gv_p1DropshipA, true)
// L627
libNtve_gf_MakeUnitInvulnerable(gv_p1DropshipB, true)
// L632
libNtve_gf_MakeUnitInvulnerable(gv_p1Gate, true)
// L654
libNtve_gf_MakeUnitInvulnerable(gv_p2Gate, true)
// L882
libNtve_gf_MakeUnitInvulnerable(gv_nova, false)
// L2221
libNtve_gf_MakeUnitInvulnerable(gv_nova, true)
// L2701
libNtve_gf_MakeUnitInvulnerable(UnitLastCreated(), true)
// L2709
libNtve_gf_MakeUnitInvulnerable(UnitLastCreated(), true)
// L3024
libNtve_gf_MakeUnitInvulnerable(UnitLastCreated(), true)
// L3667
libNtve_gf_MakeUnitInvulnerable(gv_nova, true)
// L1017
libNtve_gf_MakeUnitInvulnerable(UnitFromId(18), true)
// L439
libNtve_gf_MakeUnitInvulnerable(gv_artifact, true)
// L1019
libNtve_gf_MakeUnitInvulnerable(gv_siegeTankDropship, true)
// L4354
libNtve_gf_MakeUnitInvulnerable(gv_tHEONEDRILL, true)
// L4438
libNtve_gf_MakeUnitInvulnerable(gv_tHEONEDRILL, true)
// L5405
libNtve_gf_MakeUnitInvulnerable(gv_tHEONEDOOR, false)
// L3013
libNtve_gf_MakeUnitInvulnerable(lv_droppedBuilding, false)
// L1002
libNtve_gf_MakeUnitInvulnerable(autoAFDCFCA0_var, true)
// L1012
libNtve_gf_MakeUnitInvulnerable(autoB75E5DB3_var, true)
// L1110
libNtve_gf_MakeUnitInvulnerable(auto2DAE3571_var, true)
// L1129
libNtve_gf_MakeUnitInvulnerable(autoE74E054F_var, true)
// L1262
libNtve_gf_MakeUnitInvulnerable(auto9F604E0D_var, true)
// L1271
libNtve_gf_MakeUnitInvulnerable(auto784E091D_var, true)
// L1280
libNtve_gf_MakeUnitInvulnerable(autoC8A10612_var, true)
// L2937
libNtve_gf_MakeUnitInvulnerable(auto94BC3365_var, false)
// L2949
libNtve_gf_MakeUnitInvulnerable(autoB621D0A9_var, false)
// L3637
libNtve_gf_MakeUnitInvulnerable(auto68468496_var, false)
// L3375
libNtve_gf_MakeUnitInvulnerable(gv_kerrigan, true)
// L3422
libNtve_gf_MakeUnitInvulnerable(gv_kerrigan, true)