# Set Tactical AI Range
Grammar — Set Tactical AI Range for player unitType to distance
Flags —Action
Overwrites the Tactical AI Range field for the specified unit’s data for the specified player.
# Arguments
int
— Playerstring
<gamelink::Unit> — UnitTypeint
— Distance
Returns — void
void libNtve_gf_SetTacticalAIRange(
int lp_player,
string lp_unitType,
int lp_distance,
);
# 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 —