# Enable/Disable Tactical For Unit

Grammar — ForceTactical For Unit To Be Disabled (or ReEnabled) (unit, controlled)
FlagsNative | Action

Forces tactical to be disabled for the unit (regardless of other unit properties such as ForceTactical / Computer Controlled). Or re-enables tactical that was previous disabled by this function.

# Arguments

Returns — void

native void AISetUnitTacticalDisabled(
	unit u,
	bool tacticalDisabled,

Category: AI Advanced / Tactical / Actions

# Examples

# mods/heroesdata.stormmod


// L21947
AISetUnitTacticalDisabled(lv_mindControlledUnit, true)
// L21991
AISetUnitTacticalDisabled(lv_mindControlledUnit, false)