Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-26-08, 06:31 AM   #10
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,711
Originally Posted by Balkeep View Post
So there is no way of forcing player, target, focus to update onthefly?

Also who can tell me why this function doesnt work? it supposed to determine if unit has certain buff or not...
Code:
local function Buffed(unit, auraName)
	local i = 1
	while false do
		if i == 73 then break end
		if auraName == select(1,UnitAura(unit, i)) then	return true end
		i = i +1
		end
	end
pfff... i feel that i need to start from basics cuz my usual research method is too slow for programming (figuring out how similar things work and adapting them for myself).
Why make another function?
Code:
if(UnitAura('player', 'Innervate')) then
 
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » oUF - Layout discussion


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off