12.07.2015 Views

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1104 Part IV ■ <strong>Reference</strong>GetNumTalents—Returns the number <strong>of</strong> options in a talent tabGetPetTalentTree—Returns the name <strong>of</strong> the talent tree used by the player’scurrent petGetTalentInfo—Returns in<strong>for</strong>mation about a talent optionGetTalentLink—Returns a hyperlink <strong>for</strong> a talentGetTalentPrereqs—Returns in<strong>for</strong>mation about prerequisites to learning atalentGetTalentTabInfo—Returns in<strong>for</strong>mation about a talent tabGetUnspentTalentPoints—Returns the number <strong>of</strong> unused talent pointsLearnPreviewTalents—Commits changes made in the Talent UI’s previewmodeLearnTalent—Learns a talent, spending one talent pointResetGroupPreviewTalentPoints—Reverts all changes made in the TalentUI’s preview modeResetPreviewTalentPoints—Reverts changes made within a specific tab inthe Talent UI’s preview modeSetActiveTalentGroup—Switches the player’s active talent specializationUnitCharacterPoints—Returns the player’s number <strong>of</strong> unused talent points<strong>and</strong> pr<strong>of</strong>ession slotsTargeting FunctionsAssistUnit—Targets the unit targeted by another unitClearFocus—Clears the player’s focus unitClearTarget—Clears the player’s current targetFocusUnit—Changes the focus unitID to refer to a new unitSpellCanTargetUnit—Returns whether the spell currently awaiting a targetcan target a given unitSpellTargetUnit—Casts the spell currently awaiting a target on a unitTargetLastEnemy—Targets the most recently targeted enemy unitTargetLastFriend—Targets the most recently targeted friendly unitTargetLastTarget—Targets the most recently targeted unitTargetNearest—Cycles targets through nearest units regardless <strong>of</strong> reaction/affiliationTargetNearestEnemy—Cycles your target through the nearest enemy unitsTargetNearestEnemyPlayer—Cycles targets through nearby enemy playerunitsTargetNearestFriend—Cycles targets through nearby friendly units

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!