AddOn Stud… Editing (section) World of Warcraft API 0 You are not logged in. The rich text editor does not work with JavaScript switched off. Please either enable it in your browser options, or visit your preferences to switch to the old MediaWiki editor === Activity === These functions make the player do something, and which aren't covered elsewhere and aren't simply confirmation steps. :{{id|API|AcceptDuel}}() - The player accepts the challenge to duel. :PROTECTED {{id|API|AttackTarget}}() - Attacks the targetted unit. :{{id|API|CancelDuel}}() - Refuse the invitation to fight a duel. :{{id|API|CancelLogout}}() - Cancels the logout timer, from camping or quitting. :{{id|API|ClearTutorials}}() :{{id|API|CancelSummon}}() - Rejects a summon request. :{{id|API|ConfirmSummon}}() - Accepts a summon request. :PROTECTED {{id|API|DescendStop}}() - The player stops descending, while swimming or flying. (added 2.1) :{{id|API|Dismount}}() - The player dismounts the current mount. (added 2.0.3) :{{id|API|FlagTutorial}}("tutorial") :{{id|API|ForceQuit}}() - Instantly quits the game, bypassing the timer. :{{id|API|GetPVPTimer}}() - Returns the amount of time until your PvP flag fades. :{{id|API|GetSummonConfirmAreaName}}() - Returns the name of the area you're being summoned to. :{{id|API|GetSummonConfirmSummoner}}() - Returns the name of the player summoning you. :{{id|API|GetSummonConfirmTimeLeft}}() - Returns the amount of time left before the pending summon expires. :{{id|API|Logout}} - Logs the user out of the game. :{{id|API|Quit}} - Quits the game, '''not''' the Lua script. :{{id|API|RandomRoll}}(low, high) - Does a random roll between the two values. :{{id|API|SetPVP}}(arg1) - Sets the players PVP mode (1 to enable, nil to toggle off eventually) :PROTECTED {{id|API|SitStandOrDescendStart}}() - The player sits, stands, or descends (added 2.1) :PROTECTED {{id|API|StartDuel}}("name") - Challenge someone to a duel, by name. (protected 2.0) :{{id|API|TogglePVP}}() - Toggles PVP status :{{id|API|ToggleSheath}}() - Toggles sheathed or unsheathed weapons. :{{id|API|UseSoulstone}}() - Use an active soulstone to resurrect yourself after death. Also works for Shamans with Reincarnation available. Loading editor Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above. Insert: – — … ° ≈ ≠ ≤ ≥ ± − × ÷ ← → · § Sign your username: ~~~~ Wiki markup: {{}} | [] [[]] [[Category:]] #REDIRECT [[]] <s></s> <sup></sup> <sub></sub> <code></code> <blockquote></blockquote> <ref></ref> {{Reflist}} <references/> <includeonly></includeonly> <noinclude></noinclude> {{DEFAULTSORT:}} <nowiki></nowiki> <!-- --> <span class="plainlinks"></span> Symbols: ~ | ¡ ¿ † ‡ ↔ ↑ ↓ • ¶ # ¹ ² ³ ½ ⅓ ⅔ ¼ ¾ ⅛ ⅜ ⅝ ⅞ ∞ ‘ “ ’ ” «» ¤ ₳ ฿ ₵ ¢ ₡ ₢ $ ₫ ₯ € ₠ ₣ ƒ ₴ ₭ ₤ ℳ ₥ ₦ № ₧ ₰ £ ៛ ₨ ₪ ৳ ₮ ₩ ¥ ♠ ♣ ♥ ♦ View this template This field is a spam trap. DO NOT fill it in! Edit summary Preview Mobile Desktop Show changes