Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API DestroyTotem
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!
{{wowapi}} __NOTOC__ <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> Destroys one specific totem. <!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> DestroyTotem(slotId); == Arguments == <!-- List each argument, together with its type --> :(slotId) :;slotId : Number - The totem type to be destroyed, where Fire is 1, Earth is 2, Water is 3 and Air is 4. == Returns == <!-- List each return value, together with its type --> :nil <!-- remove this line if it's just one value --> == Triggers Events == <!-- If this function triggers an event, name it here. If not, remove the entire section. --> :* "[[Events/P#PLAYER_TOTEM_UPDATE|PLAYER_TOTEM_UPDATE]]" == Example == <!-- If it helps, include an example here, though it's not required if the usage is self-explanatory --> DestroyTotem(1); <big>'''Result'''</big> <!-- If it helps, include example results here, though they are not required. You're allowed to cheat liberally since WoW isn't a command line language. --> :Destroys your Fire type totem, if active.
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)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)