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.

952 Part IV ■ <strong>Reference</strong>ProtectedProtectedProtectedProtectedProtectedProtectedStopMacroStops execution <strong>of</strong> a running macro.StopMusicStops currently playing in-game music.StopTradeSkillRepeatCancels repetition <strong>of</strong> a trade skill recipe.If a recipe is currently being per<strong>for</strong>med, it will continue, but further scheduledrepetitions will be canceled.StrafeLeftStartBegins moving the player character sideways to his or her left.StrafeLeftStopEnds movement initiated by StrafeLeftStart.StrafeRightStartBegins moving the player character sideways to his or her right.StrafeRightStopEnds movement initiated by StrafeRightStart.StuckUses the auto-unstuck feature.SummonFriendSummons a unit whose account is linked to the player’s via theRecruit-a-Friend program.SummonFriend(“name“) or SummonFriend(“unit“)Does not instantly teleport the unit. Calling this function begins casting theSummon Friend ‘‘spell’’, <strong>and</strong> once it completes the unit is prompted to acceptor decline the summons.Arguments:name—Exact name <strong>of</strong> a player to summon (only applies to units in the player’sparty or raid) (string)unit—A unit to summon (string, unitID)SwapRaidSubgroupSwaps two raid members between subgroups in the raid.SwapRaidSubgroup(index1, index2)Only has effect if the player is the raid leader or a raid assistant. To move amember into a non-full subgroup without switching places with anothermember, see SetRaidSubgroup().Arguments:index1—Index <strong>of</strong> the first raid member (between 1 <strong>and</strong> GetNumRaidMembers()); matches the numeric part <strong>of</strong> the unit’s raid unitID, e.g.21 <strong>for</strong>raid21 (number)index2—Index <strong>of</strong> the other raid member (number)

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

Saved successfully!

Ooh no, something went wrong!