WoW:API ShowHelm

Revision as of 14:48, 8 June 2007 by WoWWiki>Ravas (Updated the flag to link to Boolean, fixed code example, and removed broken link to the old forums.)

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.