If Statement Trouble
So I have this if statement:
Code:
local isBuffed1,_,_,_,_,_,_,isMine1 = UnitAura("Player","Battle Shout"); Basically, the problem is that the vars "isMine1" and "isMine2" are giving me trouble. If I go in game, cast a shout on myself, and then print the var it returns "PLAYER". However, in the if statement I can never get either one to return true for isMine1 == "PLAYER" Anyone notice what I'm doing wrong, cause I'm stumped. =/ |
"PLAYER" should be lowercase, "player"
|
Hmm, I had "Player" but then tried all caps since it was printing in all caps but that worked.
Thanks. :D Edit: I'm stupid, the font I was using prints in all caps. xD |
All times are GMT -6. The time now is 07:31 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI