Wikia

WoWWiki

API UnitIsFeignDeath

Talk0
101,385pages on
this wiki

Redirected from API IsFeignDeath

WoW API < UnitIsFeignDeath


Returns whether a unit is feigning death.

isFeign = UnitIsFeignDeath("unit");

Parameters Edit

Arguments Edit

("unit")
unit 
String - The UnitId of the unit to check

Returns Edit

isFeign 
Flag - Returns 1 if the unit is feigning death, nil otherwise.

DetailsEdit

Only provides valid data for friendly units.
Does not work for unit "player", see UnitAura function
Example
if UnitAura("player", "Feign Death") == "Feign Death" then .....



Around Wikia's network

Random Wiki