Quantcast WoWInterface - Search Results
Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Clamsoda
Forum: Lua/XML Help 04-14-13, 08:18 AM
Replies: 47
Views: 20,222
Posted By Clamsoda
The information in the combat log doesn't...

The information in the combat log doesn't originate client side, but what you see IS client side; and an AddOn can only act on that information, and their related events, once it becomes client side.
Forum: Lua/XML Help 04-12-13, 03:58 PM
Replies: 47
Views: 20,222
Posted By Clamsoda
Calling the select() function is extremely slow. ...

Calling the select() function is extremely slow. Besides, you are just recycling "_" over and over. It is one variable, there isn't much overhead associated with that.
Forum: Lua/XML Help 04-12-13, 02:28 PM
Replies: 47
Views: 20,222
Posted By Clamsoda
Yes. You need to wrap select() in its own...

Yes. You need to wrap select() in its own parenthisis, THEN wrap that in tostring() -- or whatever function you are calling -- if you want to JUST return the 2nd argument of...
Forum: Lua/XML Help 04-12-13, 01:33 PM
Replies: 47
Views: 20,222
Posted By Clamsoda
You need to wrap your function in parenthesis...

You need to wrap your function in parenthesis like so:

print((select(2, GetWorldStateUIInfo(3))))

If that doesn't work, try:

local _, state = GetWorldStateUIInfo(3)

Edit: Fixed a mistake.
Forum: Lua/XML Help 02-21-13, 11:49 PM
Replies: 47
Views: 20,222
Posted By Clamsoda
Nevermind, thank you. Zzzzz -.-

Nevermind, thank you.

Zzzzz -.-
Forum: Lua/XML Help 02-21-13, 11:45 PM
Replies: 47
Views: 20,222
Posted By Clamsoda
Issue with select() and IsInInstance()

Is there a reason why:

local inInstance, instanceType = IsInInstance()

returns BOOLEAN, TYPE

and

select(1, IsInInstance())
Showing results 1 to 6 of 6