WoW:API UnitIsGhost: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
(upgraded deprecated template)
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}}

Revision as of 18:15, 6 January 2007

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...