# Remove Player Talent

Grammar — Remove Talent talent from Player player.
FlagsNative | Action

Remove the specified Talent from the Player.

# Arguments

  • int — Player
  • string<gamelink::Talent> — Talent

Returns — void

native void PlayerRemoveTalent(
	int inPlayer,
	string inTalent,
);

Category: Player / Player Settings

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:11708

        for ( ; ( (auto1DF9E79D_ai >= 0 && lv_itButton <= auto1DF9E79D_ae) || (auto1DF9E79D_ai < 0 && lv_itButton >= auto1DF9E79D_ae) ) ; lv_itButton += auto1DF9E79D_ai ) {
            libGame_gf_RemoveTalentAbilityModificationsForPlayerAtTalent(lp_player, lv_itChoice, lv_itButton);
            PlayerRemoveTalent(lp_player, libGame_gv_talents_TalentChoices[lp_player][lv_itChoice].lv_talentData[lv_itButton].lv_talentCatalogLink);
            auto6316811D_ae = libGame_gv_talents_TalentChoices[lp_player][lv_itChoice].lv_talentData[lv_itButton].lv_behaviorCount;
            lv_itBehavior = 1;

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:1805

    for ( ; ( (auto77BD8986_ai >= 0 && lv_itButton <= auto77BD8986_ae) || (auto77BD8986_ai < 0 && lv_itButton >= auto77BD8986_ae) ) ; lv_itButton += auto77BD8986_ai ) {
        libGame_gf_RemoveTalentAbilityModificationsForPlayerAtTalent(lp_player, lp_tier, lv_itButton);
        PlayerRemoveTalent(lp_player, libGame_gv_talents_TalentChoices[lp_player][lp_tier].lv_talentData[lv_itButton].lv_talentCatalogLink);
        autoD88DF097_ae = libGame_gv_talents_TalentChoices[lp_player][lp_tier].lv_talentData[lv_itButton].lv_behaviorCount;
        lv_itBehavior = 1;