WoW:API ShowHelm: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(→‎Arguments: also accepts zero)
Line 7: Line 7:
:(flag)
:(flag)


:;flag : Boolean - true, helm is shown.  false, helm is not shown.
:;flag : Boolean - true, helm is shown.  false, helm is not shown. Also accepts 0 as false [http://forums.worldofwarcraft.com/thread.html?topicId=62049109&postId=625232451&sid=1#7].


----
----

Revision as of 18:57, 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. Also accepts 0 as false [1].

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

Toggles displaying your helm.