WoW:API ShowHelm

From AddOn Studio
Revision as of 18:57, 6 January 2007 by WoWWiki>Cogwheel (→‎Arguments: also accepts zero)
Jump to navigation Jump to search

Enables or disables display of your helm.

ShowHelm(flag);

Parameters

Arguments

(flag)
flag
Boolean - true, helm is shown. false, helm is not shown. Also accepts 0 as false [1].

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

Toggles displaying your helm.