C_ClassTalents.SetStarterBuildActive

From Warcraft Wiki
Jump to navigation Jump to search

Switches your active talent loadout to the Starter Build, which is a Blizzard defined talent build, meant to be good enough for most content.

result = C_ClassTalents.SetStarterBuildActive(active)

Arguments

active
boolean

Returns

result
Enum.LoadConfigResult
Value Field Description
0 Error Failed to switch loadouts for whatever reason
1 NoChangesNecessary Previous loadout and newly selected loadout are identical, no need for any changes or Changing Talents cast bar
2 LoadInProgress Changing Talents cast bar is triggered, delay follow-up action until TRAIT_CONFIG_UPDATED or CONFIG_COMMIT_FAILED
3 Ready Changes have been applied, but did not require any cast bar. May also happen when autoApply was set to false

Details

You should call C_ClassTalents.UpdateLastSelectedSavedConfigID with your current SpecializationID and Constants.TraitConsts.STARTER_BUILD_TRAIT_CONFIG_ID after the Starter Build has successfully been applied.