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.)
m (Move page script moved page API ShowHelm to API ShowHelm without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
Enables or disables display of your helm.
Enables or disables display of your helm.


Line 11: Line 12:
----
----
;''Example''
;''Example''
  /script if not ShowHelm(true) then ShowHelm(false) else ShowHelm(true) end;
  /run ShowHelm(not ShowingHelm())


;''Result''
;''Result''
Toggles displaying your helm.
Toggles displaying your helm.

Latest revision as of 04:47, 15 August 2023

WoW API < ShowHelm

Enables or disables display of your helm.

ShowHelm(flag);

Parameters[edit]

Arguments[edit]

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

Example
/run ShowHelm(not ShowingHelm())
Result

Toggles displaying your helm.