Showing results 1 to 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: nonexistentx_x
Forum: Lua/XML Help 06-13-22, 05:52 AM
Replies: 9
Views: 1,678
Posted By nonexistentx_x
it returns the first index, just need to write it...

it returns the first index, just need to write it otherwise:
local newvalue = self:getnext(self.options, self:get()) or self.options[1];:)
Forum: Lua/XML Help 06-13-22, 01:42 AM
Replies: 9
Views: 1,678
Posted By nonexistentx_x
more simple for me: function own:getnext(tbl,...

more simple for me:
function own:getnext(tbl, item)
local found
for i = 1, #tbl do
if found then return tbl[i] end
found = tbl[i] == item
end
end
Forum: Lua/XML Help 06-05-22, 10:42 AM
Replies: 9
Views: 1,678
Posted By nonexistentx_x
solved

Now it's fine. Thx so much! =)
Forum: Lua/XML Help 06-05-22, 10:12 AM
Replies: 9
Views: 1,678
Posted By nonexistentx_x
Thx for answer! But it only fires twice and...

Thx for answer! But it only fires twice and stops, if i set self.firstload=false i get loop only between "ONE" and "TWO" values:
['onclick'] = function(self)
local valueset
-- if (not value)...
Forum: Lua/XML Help 06-05-22, 07:07 AM
Replies: 9
Views: 1,678
Posted By nonexistentx_x
simple table loop

Hello. I'm trying to do simple loop table, but it doesn't quite work...
What i want? - Output value each time from my table through onclick function. For example:
We have some table like:

value =...
Forum: Lua/XML Help 05-12-22, 11:36 AM
Replies: 1
Views: 948
Posted By nonexistentx_x
for example: local PostUpdateDebuff =...

for example:
local PostUpdateDebuff = function(self, unit, button, index)
local name, _, _, _, dtype, duration, expTime = UnitAura(unit, index, button.filter)

if dtype == "Magic" and button.debuff...
Forum: Lua/XML Help 05-12-22, 07:08 AM
Replies: 0
Views: 924
Posted By nonexistentx_x
dropdown list layer

Hello. I found a nasty thing with my custom dropdown list in config element:
If dropdown list is shown, it is inferior to the next elements in terms of visibility priority (but not by frame...
Forum: AddOn Help/Support 03-28-19, 10:48 PM
Replies: 3
Views: 2,010
Posted By nonexistentx_x
Reverse Fill Health/Mana bar

Hi everyone.
I would like to know, is there a way to display the target health bar/power bar, in the opposite direction? (Vanilla version)
Showing results 1 to 8 of 8