WoW:API ShowHelm: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Move page script moved page API ShowHelm to API ShowHelm without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{wowapi}}
Enables or disables display of your helm.
Enables or disables display of your helm.


Line 7: Line 8:
:(flag)
:(flag)


:;flag : Boolean - true, helm is shown.  false, helm is not shown.
:;flag : [[Boolean]] - true, helm is shown.  false or nil, helm is not shown.


----
----
;''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.
----
{{Stub/API}}

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.