WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   WoD Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=151)
-   -   Tapped functions not working? (https://www.wowinterface.com/forums/showthread.php?t=49842)

galvin 09-04-14 06:39 PM

Tapped functions not working?
 
I tested the UnitIsTapped, and a bunch of others. And returns false everytime, even if the mob is tagged by someone else. The nameplate will show the mob in grey, showing that its really tagged.

Fizzlemizz 09-04-14 07:36 PM

Code:

if (not UnitPlayerControlled("target") and UnitIsTapped("target") and not UnitIsTappedByPlayer("target") and not UnitIsTappedByAllThreatList("target")) then
  --tapped, no reward.
else
  --player tapped, multitapped or not in combat.
end

Edited for greater clarity.

galvin 09-04-14 11:01 PM

Working fine now, thanks.


All times are GMT -6. The time now is 10:33 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI