WoW:API UnitIsFeignDeath: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Returns whether a unit is feigning death. Only provides valid data for friendly units. Signature: isFeign = UnitIsFeignDeath("unit") Arguments: unit - A unit to query (string, …') |
m (Move page script moved page API UnitIsFeignDeath to API UnitIsFeignDeath without leaving a redirect) |
(No difference)
|
Latest revision as of 04:47, 15 August 2023
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.
Details[edit]
- 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 .....
- Example