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.

562 Part IV ■ <strong>Reference</strong>ConfirmationArenaTeamSetLeaderByNamePromotes an arena team member to team captain.ArenaTeamSetLeaderByName(team, “name“)ConfirmationOnly has effect if the player is captain <strong>of</strong> the given team.Arguments:team—Index <strong>of</strong> one <strong>of</strong> the player’s arena teams (number, arenaTeamID)name—Name <strong>of</strong> a team member to promote (string)ArenaTeamUninviteByNameRemoves a member from an arena team.ArenaTeamUninviteByName(team, “name“)Arguments:team—Index <strong>of</strong> one <strong>of</strong> the player’s arena teams (number, arenaTeamID)name—Name <strong>of</strong> a team member to remove (string)ArenaTeam_GetTeamSizeIDConverts an arena team size to the appropriate numeric arena team identifier.ProtectedProtectedProtectedteamID = ArenaTeam_GetTeamSizeID(teamSize)Arguments:teamSize—The size <strong>of</strong> the arena team (i.e. 2 <strong>for</strong> 2v2, 3 <strong>for</strong> 3v3, etc.) (number)Returns:teamID—The numeric identifier <strong>for</strong> the arena team <strong>of</strong> the given size (number,arenaTeamID)AscendStopStops movement initiated by JumpOrAscendStart.Used by the JUMP binding, which also controls ascent when swimming orflying. Has no meaningful effect if called while jumping (in which casemovement is generally stopped by hitting the ground).AssistUnitTargets the unit targeted by another unit.AssistUnit(“unit“) or AssistUnit(“name“)Arguments:unit—A unit to assist (string, unitID)name—The name <strong>of</strong> a unit to assist (string)AttackTargetBegins auto-attack against the player’s current target.(If the ‘‘Auto Attack/Auto Shot’’ option is turned on, also begins Auto Shot <strong>for</strong>hunters.)AutoEquipCursorItemEquips the item on the cursor.The item is automatically equipped in the first available slot in which it fits. Toequipaniteminaspecificslot,seeEquipCursorItem().

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

Saved successfully!

Ooh no, something went wrong!