# AIAddTeamRepresentative

FlagsNative

# Arguments

  • int — inPlayer

Returns — void

native void AIAddTeamRepresentative(int inPlayer);

Category: Unclassified

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/AILib.galaxy:1304

    libAIAI_gf_HeroAITalentPreInit();
    libCore_gf_RegisterSegregationTrigger(libCore_ge_SegregationTriggerTypes_HeroAIDebuggingUpdateStatus, libAIAI_gt_HeroAILostVikingsDebuggingUpdate);
    AIAddTeamRepresentative(libCore_gv_cOMPUTER_TeamOrder, libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core);
    AIAddTeamRepresentative(libCore_gv_cOMPUTER_TeamChaos, libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_core);
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/AILib.galaxy:1305

    libCore_gf_RegisterSegregationTrigger(libCore_ge_SegregationTriggerTypes_HeroAIDebuggingUpdateStatus, libAIAI_gt_HeroAILostVikingsDebuggingUpdate);
    AIAddTeamRepresentative(libCore_gv_cOMPUTER_TeamOrder, libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core);
    AIAddTeamRepresentative(libCore_gv_cOMPUTER_TeamChaos, libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_core);
}