# AIAddHealer

FlagsNative

# Arguments

  • int — player
  • string — healer
  • string — healAbil
  • int — healAbilIdx

Returns — void

native void AIAddHealer(
	int player,
	string healer,
	string healAbil,
	int healAbilIdx,
);

Category: Unclassified

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/BaseAI.galaxy:89

//--------------------------------------------------------------------------------------------------
void AISpecifiedHealers (int player) {
    AIAddHealer(player, "SCV", "Repair", 0);
    AIAddHealer(player, "MULE", "MULERepair", 0);
    AIAddHealer(player, "Medivac", "MedivacHeal", 0);

mods/core.sc2modbase.sc2data/TriggerLibs/BaseAI.galaxy:90

void AISpecifiedHealers (int player) {
    AIAddHealer(player, "SCV", "Repair", 0);
    AIAddHealer(player, "MULE", "MULERepair", 0);
    AIAddHealer(player, "Medivac", "MedivacHeal", 0);
    AIAddHealer(player, "Medic", "heal", 0);

mods/core.sc2modbase.sc2data/TriggerLibs/BaseAI.galaxy:91

    AIAddHealer(player, "SCV", "Repair", 0);
    AIAddHealer(player, "MULE", "MULERepair", 0);
    AIAddHealer(player, "Medivac", "MedivacHeal", 0);
    AIAddHealer(player, "Medic", "heal", 0);
    AIAddHealer(player, "ScienceVessel", "NanoRepair", 0);

mods/core.sc2modbase.sc2data/TriggerLibs/BaseAI.galaxy:92

    AIAddHealer(player, "MULE", "MULERepair", 0);
    AIAddHealer(player, "Medivac", "MedivacHeal", 0);
    AIAddHealer(player, "Medic", "heal", 0);
    AIAddHealer(player, "ScienceVessel", "NanoRepair", 0);
}

mods/core.sc2modbase.sc2data/TriggerLibs/BaseAI.galaxy:93

    AIAddHealer(player, "Medivac", "MedivacHeal", 0);
    AIAddHealer(player, "Medic", "heal", 0);
    AIAddHealer(player, "ScienceVessel", "NanoRepair", 0);
}

mods/starcoop/starcoop.sc2modbase.sc2data/TriggerLibs/BaseAI.galaxy:125

//--------------------------------------------------------------------------------------------------
void AISpecifiedHealers (int player) {
    AIAddHealer(player, "SCV", "Repair", 0);
    AIAddHealer(player, "MULE", "MULERepair", 0);
    AIAddHealer(player, "Medivac", "MedivacHeal", 0);

mods/starcoop/starcoop.sc2modbase.sc2data/TriggerLibs/BaseAI.galaxy:126

void AISpecifiedHealers (int player) {
    AIAddHealer(player, "SCV", "Repair", 0);
    AIAddHealer(player, "MULE", "MULERepair", 0);
    AIAddHealer(player, "Medivac", "MedivacHeal", 0);
    AIAddHealer(player, "Medic", "heal", 0);

mods/starcoop/starcoop.sc2modbase.sc2data/TriggerLibs/BaseAI.galaxy:127

    AIAddHealer(player, "SCV", "Repair", 0);
    AIAddHealer(player, "MULE", "MULERepair", 0);
    AIAddHealer(player, "Medivac", "MedivacHeal", 0);
    AIAddHealer(player, "Medic", "heal", 0);
    AIAddHealer(player, "ScienceVessel", "NanoRepair", 0);

mods/starcoop/starcoop.sc2modbase.sc2data/TriggerLibs/BaseAI.galaxy:128

    AIAddHealer(player, "MULE", "MULERepair", 0);
    AIAddHealer(player, "Medivac", "MedivacHeal", 0);
    AIAddHealer(player, "Medic", "heal", 0);
    AIAddHealer(player, "ScienceVessel", "NanoRepair", 0);
}

mods/starcoop/starcoop.sc2modbase.sc2data/TriggerLibs/BaseAI.galaxy:129

    AIAddHealer(player, "Medivac", "MedivacHeal", 0);
    AIAddHealer(player, "Medic", "heal", 0);
    AIAddHealer(player, "ScienceVessel", "NanoRepair", 0);
}

mods/warcoop/warmeleeai.sc2modbase.sc2data/TriggerLibs/Orc/Orc.galaxy:550

trigger GAw3_BOThreadOrc=TriggerCreate("BOThreadOrc");
void GAw3_AIAddHealer(int player){
    AIAddHealer(player, "opeo", "Arep", 0);
}
unit AIGetScoutOrc (int player, int index, unit prev, bool allowWorkers) {