# Make Unit Uncommandable

Grammar — Make unit option|Commandable/Uncommandable
FlagsAction

Makes a unit commandable or uncommandable.

# Arguments

Returns — void

void libNtve_gf_MakeUnitUncommandable(
	unit lp_unit,
	bool lp_option,
);

Category: Unit / Properties

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L923
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), false)
// L1059
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), false)
// L908
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), false)
// L885
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), false)
// L1017
libNtve_gf_MakeUnitUncommandable(UnitFromId(290), true)
// L2653
libNtve_gf_MakeUnitUncommandable(lv_factory, false)
// L451
libNtve_gf_MakeUnitUncommandable(UnitFromId(109), true)
// L1570
libNtve_gf_MakeUnitUncommandable(lv_starport, false)
// L4944
libNtve_gf_MakeUnitUncommandable(UnitLastCreated(), true)
// L624
libNtve_gf_MakeUnitUncommandable(gv_p1DropshipA, true)
// L625
libNtve_gf_MakeUnitUncommandable(gv_p1DropshipB, true)
// L1532
libNtve_gf_MakeUnitUncommandable(UnitLastCreated(), true)
// L554
libNtve_gf_MakeUnitUncommandable(UnitFromId(317), true)
// L1018
libNtve_gf_MakeUnitUncommandable(gv_siegeTankDropship, true)
// L1590
libNtve_gf_MakeUnitUncommandable(gv_tHEONEDRILL, false)
// L697
libNtve_gf_MakeUnitUncommandable(UnitLastCreated(), true)
// L3014
libNtve_gf_MakeUnitUncommandable(lv_droppedBuilding, false)
// L2254
libNtve_gf_MakeUnitUncommandable(gv_tHEONEZERATUL, true)
// L2290
libNtve_gf_MakeUnitUncommandable(gv_tHEONEZERATUL, false)
// L3890
libNtve_gf_MakeUnitUncommandable(gv_tHEONEZERATUL, true)
// L3928
libNtve_gf_MakeUnitUncommandable(gv_tHEONEZERATUL, false)
// L5730
libNtve_gf_MakeUnitUncommandable(gv_tHEONEZERATUL, true)
// L9713
libNtve_gf_MakeUnitUncommandable(gv_tHEONEZERATUL, false)
// L1003
libNtve_gf_MakeUnitUncommandable(gv_zeratul, true)
// L2837
libNtve_gf_MakeUnitUncommandable(gv_zeratul, true)
// L2900
libNtve_gf_MakeUnitUncommandable(gv_zeratul, true)
// L2963
libNtve_gf_MakeUnitUncommandable(gv_zeratul, true)
// L3026
libNtve_gf_MakeUnitUncommandable(gv_zeratul, true)
// L3063
libNtve_gf_MakeUnitUncommandable(gv_zeratul, false)
// L4976
libNtve_gf_MakeUnitUncommandable(gv_zeratul, false)
// L1017
libNtve_gf_MakeUnitUncommandable(UnitFromId(290), true)
// L2653
libNtve_gf_MakeUnitUncommandable(lv_factory, false)
// L451
libNtve_gf_MakeUnitUncommandable(UnitFromId(109), true)
// L1570
libNtve_gf_MakeUnitUncommandable(lv_starport, false)
// L4944
libNtve_gf_MakeUnitUncommandable(UnitLastCreated(), true)
// L624
libNtve_gf_MakeUnitUncommandable(gv_p1DropshipA, true)
// L625
libNtve_gf_MakeUnitUncommandable(gv_p1DropshipB, true)
// L1532
libNtve_gf_MakeUnitUncommandable(UnitLastCreated(), true)
// L554
libNtve_gf_MakeUnitUncommandable(UnitFromId(317), true)
// L1018
libNtve_gf_MakeUnitUncommandable(gv_siegeTankDropship, true)
// L1590
libNtve_gf_MakeUnitUncommandable(gv_tHEONEDRILL, false)
// L697
libNtve_gf_MakeUnitUncommandable(UnitLastCreated(), true)
// L3014
libNtve_gf_MakeUnitUncommandable(lv_droppedBuilding, false)
// L2254
libNtve_gf_MakeUnitUncommandable(gv_tHEONEZERATUL, true)
// L2290
libNtve_gf_MakeUnitUncommandable(gv_tHEONEZERATUL, false)
// L3890
libNtve_gf_MakeUnitUncommandable(gv_tHEONEZERATUL, true)
// L3928
libNtve_gf_MakeUnitUncommandable(gv_tHEONEZERATUL, false)
// L5730
libNtve_gf_MakeUnitUncommandable(gv_tHEONEZERATUL, true)
// L9713
libNtve_gf_MakeUnitUncommandable(gv_tHEONEZERATUL, false)
// L1003
libNtve_gf_MakeUnitUncommandable(gv_zeratul, true)
// L2837
libNtve_gf_MakeUnitUncommandable(gv_zeratul, true)
// L2900
libNtve_gf_MakeUnitUncommandable(gv_zeratul, true)
// L2963
libNtve_gf_MakeUnitUncommandable(gv_zeratul, true)
// L3026
libNtve_gf_MakeUnitUncommandable(gv_zeratul, true)
// L3063
libNtve_gf_MakeUnitUncommandable(gv_zeratul, false)
// L4976
libNtve_gf_MakeUnitUncommandable(gv_zeratul, false)
// L923
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), false)
// L1059
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), false)
// L908
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), false)
// L885
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), false)
// L983
libNtve_gf_MakeUnitUncommandable(UnitFromId(161), true)
// L1951
libNtve_gf_MakeUnitUncommandable(gv_zeratul, false)
// L3481
libNtve_gf_MakeUnitUncommandable(gv_zeratul, true)
// L9150
libNtve_gf_MakeUnitUncommandable(gv_zeratul, false)
// L2811
libNtve_gf_MakeUnitUncommandable(UnitLastCreated(), true)
// L2816
libNtve_gf_MakeUnitUncommandable(UnitLastCreated(), false)
// L2663
libNtve_gf_MakeUnitUncommandable(gv_kerrigan, true)
// L7605
libNtve_gf_MakeUnitUncommandable(gv_kerrigan, false)
// L1032
libNtve_gf_MakeUnitUncommandable(lp_cHOSEN_UNIT, false)
// L2611
libNtve_gf_MakeUnitUncommandable(gv_tHE_ONE_QUEEN, true)
// L2618
libNtve_gf_MakeUnitUncommandable(gv_tHE_ONE_QUEEN, false)
// L2869
libNtve_gf_MakeUnitUncommandable(gv_tHE_ONE_QUEEN, true)
// L2876
libNtve_gf_MakeUnitUncommandable(gv_tHE_ONE_QUEEN, false)
// L3252
libNtve_gf_MakeUnitUncommandable(gv_tHE_ONE_URSADON, true)
// L3263
libNtve_gf_MakeUnitUncommandable(gv_tHE_ONE_URSADON, false)
// L2076
libNtve_gf_MakeUnitUncommandable(gv_stukov, true)
// L2084
libNtve_gf_MakeUnitUncommandable(gv_stukov, false)
// L604
libNtve_gf_MakeUnitUncommandable(gv_dEHAKA, false)
// L613
libNtve_gf_MakeUnitUncommandable(gv_dEHAKA, true)
// L991
libNtve_gf_MakeUnitUncommandable(lp_unit, true)
// L2657
libNtve_gf_MakeUnitUncommandable(gv_kerrigan, true)
// L2670
libNtve_gf_MakeUnitUncommandable(gv_kerrigan, false)
// L3361
libNtve_gf_MakeUnitUncommandable(gv_kerrigan, true)
// L3375
libNtve_gf_MakeUnitUncommandable(gv_kerrigan, false)
// L371
libNtve_gf_MakeUnitUncommandable(gv_kerrigan, false)
// L2753
libNtve_gf_MakeUnitUncommandable(gv_kerrigan, true)
// L3571
libNtve_gf_MakeUnitUncommandable(gv_kerrigan, false)
// L3287
libNtve_gf_MakeUnitUncommandable(gv_kerrigan, true)
// L3294
libNtve_gf_MakeUnitUncommandable(gv_kerrigan, false)
// L1220
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), true)
// L1230
libNtve_gf_MakeUnitUncommandable(libNtve_gf_LastReplacedUnit(), true)
// L1243
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), false)
// L2174
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), true)
// L2184
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), true)
// L2199
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), false)
// L2204
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), false)
// L1075
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), true)
// L1085
libNtve_gf_MakeUnitUncommandable(libNtve_gf_LastReplacedUnit(), true)
// L1098
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), false)
// L870
libNtve_gf_MakeUnitUncommandable(UnitGroupLoopCurrent(), true)