Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C Traits.SetSelection

Last wiki revision 2023-07-06

Attempt change the current selection for a selection node (aka choice node). Changes are not applied until they are committed (through or ). success = C_Traits.SetSelection(configID, nodeID [, nodeEntryID])

  • configID:
  • nodeID:
  • nodeEntryID: pass nil to unselect the node, effectively the equivalent of.
  • success:

This API can be used to set the initial selection, change a selection, or unselect a selection node (aka choice node). Unselecting a selection node, may result in other talents being refunded, e.g. if you no longer meet a gate criterium, or if the selection node is the only path to a set of selected talents.

You should not use the or APIs on selection nodes. is the only API used to modify selection node choices.

Source

https://warcraft.wiki.gg/wiki/API_C_Traits.SetSelection · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.