# Enable/Disable Tactical For Unit Group
Grammar — ForceTactical For Each Unit In Group To Be Disabled (or ReEnabled) (group, controlled)
Flags —Native
|Action
Forces tactical to be disabled for each unit in the group (regardless of other unit properties such as ForceTactical / Computer Controlled). Or re-enables tactical that was previous disabled by this function.
# Arguments
unitgroup
— Groupbool
<preset::AIDisableTactical> — Enable/Disable
Returns — void
native void AISetGroupTacticalDisabled(
unitgroup ug,
bool tacticalDisabled,
);
# Related
Category: AI Advanced / Tactical / Actions
- Set Ignored By Wave —
void
— AISetIgnoredByWave - Clear Cloaked Attacker —
void
— AIClearCloakedAttacker - Tactical AI - Cast —
int
— AICast - Tactical AI - Flee —
int
— AICastFlee - Call Original Tactical AI Think —
void
— AIBaseThink - Call Unit Ability Tactical Script —
void
— AIExecuteAbilTactical - Set Tactical AI Range —
void
— libNtve_gf_SetTacticalAIRange - Set Tactical AI Think —
void
— libNtve_gf_SetTacticalAIThink - Enable/Disable Tactical For Unit —
void
— AISetUnitTacticalDisabled - Enable/Disable Tactical For Unit Group —
void
— AISetGroupTacticalDisabled
# Examples
— None found —