Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:World of Warcraft API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== 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.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)