# 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
- [F] —
void
— Set Ignored By Wave — ( AISetIgnoredByWave ) - [F] —
void
— Clear Cloaked Attacker — ( AIClearCloakedAttacker ) - [F] —
int
— Tactical AI - Cast — ( AICast ) - [F] —
int
— Tactical AI - Flee — ( AICastFlee ) - [F] —
void
— Call Original Tactical AI Think — ( AIBaseThink ) - [F] —
void
— Call Unit Ability Tactical Script — ( AIExecuteAbilTactical ) - [F] —
void
— Set Tactical AI Range — ( libNtve_gf_SetTacticalAIRange ) - [F] —
void
— Set Tactical AI Think — ( libNtve_gf_SetTacticalAIThink ) - [F] —
void
— Enable/Disable Tactical For Unit — ( AISetUnitTacticalDisabled ) - [F] —
void
— Enable/Disable Tactical For Unit Group — ( AISetGroupTacticalDisabled )
# Examples
— None found —