WoW:API ShowHelm: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
Line 8: Line 8:


:;flag : Boolean - true, helm is shown.  false, helm is not shown.
:;flag : Boolean - true, helm is shown.  false, helm is not shown.
----
;''Example''
/script if not ShowHelm('true') then ShowHelm('false') else ShowHelm('true') end;
;''Result''
Toggles displaying your helm.


----
----
{{Stub/API}}
{{Stub/API}}

Revision as of 00:58, 6 January 2007

Enables or disables display of your helm.

ShowHelm(flag);

Parameters

Arguments

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

Example
/script if not ShowHelm('true') then ShowHelm('false') else ShowHelm('true') end;
Result

Toggles displaying your helm.