WoW:API UnitIsGhost: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API UnitIsGhost to API UnitIsGhost without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}}
Very useful to determine if a mod should be doing something if your ("unit" => "player") is a ghost.
Very useful to determine if a mod should be doing something if your ("unit" => "player") is a ghost.


Line 4: Line 5:


It is unknown how this works for "pet", but since a pet is never a ghost...
It is unknown how this works for "pet", but since a pet is never a ghost...
----
{{template:WoW API}}

Latest revision as of 04:47, 15 August 2023

WoW API < UnitIsGhost

Very useful to determine if a mod should be doing something if your ("unit" => "player") is a ghost.

Returns 1 if "unit" is a ghost, nil otherwise.

It is unknown how this works for "pet", but since a pet is never a ghost...