WoW:API ToggleSheath: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m ({{wowapi}})
No edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}__NOTOC__
Toggles sheathed or unsheathed weapons.
Toggles sheathed or unsheathed weapons.


  ToggleSheath();
  ToggleSheath();
== Parameters ==
=== Arguments ===
:none


----
=== Returns ===
;''Arguments''
:nil


:''none''
== Example ==
:This asks whether the variable msg is equal to true, then toggles sheath.
if (msg == true) then
  ToggleSheath();
end


----
--[[User:Bull3t|Bull3t]] 11:50, 27 September 2006 (EDT)
;''Returns''
 
:;nil
 
----
;''Example''
ToggleSheath();
 
;''Result''
 
----
;''Description''
 
: Toggles sheathed or unsheathed weapons.

Revision as of 15:50, 27 September 2006

WoW API < ToggleSheath

Toggles sheathed or unsheathed weapons.

ToggleSheath();

Parameters

Arguments

none

Returns

nil

Example

This asks whether the variable msg is equal to true, then toggles sheath.
if (msg == true) then
  ToggleSheath();
end

--Bull3t 11:50, 27 September 2006 (EDT)