Showing results 1 to 10 of 10
Search took 0.00 seconds.
Search: Posts Made By: nilo
Forum: Lua/XML Help 03/19/23, 04:27 PM
Replies: 18
Views: 4,049
Posted By nilo
Yep makes sense, thanks :D

Yep makes sense, thanks :D
Forum: Lua/XML Help 03/19/23, 03:40 PM
Replies: 18
Views: 4,049
Posted By nilo
yes, I have eventId as 1st parameter and my...

yes, I have eventId as 1st parameter

and my index was 2
Forum: Lua/XML Help 03/19/23, 03:00 PM
Replies: 18
Views: 4,049
Posted By nilo
Yes, it fires whenever me or a group member...

Yes, it fires whenever me or a group member changes role and the output is ">unitTag: nil"

this returns my index

local index = GetGroupIndexByUnitTag("player")
d(">index: " ..tostring(index))


So...
Forum: Lua/XML Help 03/19/23, 01:17 PM
Replies: 18
Views: 4,049
Posted By nilo
Ok :) Which is like I have on my first code...

Ok :)


Which is like I have on my first code sample in the previous post, right?


I'll check it later when I have more time
Forum: Lua/XML Help 03/19/23, 01:09 PM
Replies: 18
Views: 4,049
Posted By nilo
I understand, thanks :D This is not working for...

I understand, thanks :D

This is not working for me tho :confused:

function LGRI.OnAddOnLoaded(event, addonName)
if addonName ~= LGRI.name then return end
EM:UnregisterForEvent(LGRI.name,...
Forum: Lua/XML Help 03/18/23, 06:10 PM
Replies: 18
Views: 4,049
Posted By nilo
Ok so now I have a new problem, I'm successfully...

Ok so now I have a new problem, I'm successfully calling my UpdateMyRole function whenever EVENT_GROUP_MEMBER_ROLE_CHANGED triggers, however I need smth to call this function whenever I stop being in...
Forum: Lua/XML Help 03/17/23, 07:19 PM
Replies: 18
Views: 4,049
Posted By nilo
I see Ok I'll try to do that I see, it's not...

I see


Ok I'll try to do that


I see, it's not intended to only fire once, it's on each role change yes


Interesting, I didn't know about the eventId part
Forum: Lua/XML Help 03/17/23, 06:48 PM
Replies: 18
Views: 4,049
Posted By nilo
I tried doing this, rn it's like this, I'm in...

I tried doing this, rn it's like this, I'm in group with tank role lets say, I reloadui, the texture on screen is the tank one as it should but if I change role it updates the texture to the one as...
Forum: Lua/XML Help 03/17/23, 05:09 PM
Replies: 18
Views: 4,049
Posted By nilo
Thanks for your cool explanation, very helpful...

Thanks for your cool explanation, very helpful :D

I have some more questions tho, in the attached ss I submited there are 3 independent scenarios:

A is just what I had before,

C is the changes I...
Forum: Lua/XML Help 03/17/23, 12:02 PM
Replies: 18
Views: 4,049
Posted By nilo
Questions about events, RegisterForEvent, RegisterForUpdate, ..

Atm I have a texture on screen when my role = LFG_ROLE_INVALID and this texture changes when I enter group according to my selected role. You can see in the ss how I'm doing it atm, however I want to...
Showing results 1 to 10 of 10