# Set Talent Upgrade Required

Grammar — Set Talent Upgrade Required(required)
FlagsNative | Action

# Arguments

  • bool — Required

Returns — void

native void SetTalentUpgradeRequired(bool inRequired);

Category: Talent Tree / Basic

# Examples

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:351

    libGame_gv_players[gv_pLAYER_AI_Ally_C].lv_heroIndex = 0;
    libGame_gv_players[gv_pLAYER_AI_Enemy_C].lv_heroIndex = 0;
    SetTalentUpgradeRequired(false);
    libGame_gf_MinionPauseUnpauseMinionScaling(true);
    libGame_gv_scalingTicks = 7;

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:351

    libGame_gv_players[gv_pLAYER_AI_Ally_C].lv_heroIndex = 0;
    libGame_gv_players[gv_pLAYER_AI_Enemy_C].lv_heroIndex = 0;
    SetTalentUpgradeRequired(false);
    libGame_gf_MinionPauseUnpauseMinionScaling(true);
    libGame_gv_scalingTicks = 7;