WoW:API ShowHelm: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Updated the flag to link to Boolean, fixed code example, and removed broken link to the old forums.)
(cat)
Line 1: Line 1:
{{wowapi}}
Enables or disables display of your helm.
Enables or disables display of your helm.



Revision as of 20:38, 13 June 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
/script if not ShowHelm(true) then ShowHelm(false) else ShowHelm(true) end;
Result

Toggles displaying your helm.