WoW:API ShowHelm: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(cat)
m (→‎Arguments: Fixed example)
Line 12: Line 12:
----
----
;''Example''
;''Example''
  /script if not ShowHelm(true) then ShowHelm(false) else ShowHelm(true) end;
  /run ShowHelm(not ShowingHelm())


;''Result''
;''Result''
Toggles displaying your helm.
Toggles displaying your helm.

Revision as of 06:55, 17 August 2007

WoW API < ShowHelm

Enables or disables display of your helm.

ShowHelm(flag);

Parameters

Arguments

(flag)
flag
Boolean - true, helm is shown. false or nil, helm is not shown.

Example
/run ShowHelm(not ShowingHelm())
Result

Toggles displaying your helm.