# Set Unit Evaluation Custom Index
Grammar — Set unit evaluation custom index to index
Flags —Native
|Action
Any values set using “Set Unit Custom Value” with the given index will override the standard unit strength evaluation performed by the AI for that unit.
# Arguments
int
— Index
Returns — void
native void AIEvalSetCustomIndex(int index);
# Related
Category: AI Advanced / Utility / Actions
- [F] —
void
— Start AI — ( AIStart ) - [F] —
void
— Accept Surrender — ( AIGoodGame ) - [F] —
void
— Init Melee AI — ( AIMeleeStart ) - [F] —
void
— Set APM — ( AISetAPM ) - [F] —
void
— Release Unit — ( AIReleaseUnit ) - [F] —
void
— Set State — ( AISetSpecificState ) - [F] —
void
— Set All States — ( AISetAllStates ) - [F] —
void
— Set Flag — ( AISetFlag ) - [F] —
void
— Set Coop Flag — ( AISetCoopFlag ) - [F] —
void
— Set Tech Flag State — ( AITechFlag ) - [F] —
void
— Set Unit Evaluation Custom Index — ( AIEvalSetCustomIndex ) - [F] —
void
— Enable/Disable AI Option For Unit — ( UnitSetAIOption ) - [F] —
void
— Set Defense Radii — ( AISetDefenseRadii )
# Examples
— None found —