Thread Tools Display Modes
Prev Previous Post   Next Post Next
07/05/14, 04:58 AM   #1
Flagrick
 
Flagrick's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 24
How to determine Guilds XP/reputation with EVENT_SKILL_XP_UPDATE ?

Hello there,

I try to differentiate Xp received on the event
Code:
EVENT_SKILL_XP_UPDATE (SKILLTYPE, skillIndex, reason, rank, previousXP, currentXP).
the goal would be to know when XP is:
  • the Warriors' Guild
  • the Mages Guild
  • or the last I can not remember the name

To filter the guild Xp I use that :
Code:
SKILLTYPE == SKILL_TYPE_GUILD
I guess I should specify the guild with skillindex but how? what are the constants ?

I have the name of the guild with
Code:
local skill = GetSkillLineInfo (SKILLTYPE, skillIndex)
but I would like that this is not depandant language client.
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » How to determine Guilds XP/reputation with EVENT_SKILL_XP_UPDATE ?


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