Quantcast Event for tracking Skill-point changes - ESOUI
Thread Tools Display Modes
02/15/19, 12:23 PM   #1
Baumkuchen3
AddOn Author - Click to view addons
Join Date: Jan 2019
Posts: 12
Event for tracking Skill-point changes

I currently want to get an event whenever a skill point will be invested into a Ability or at least when the player gets a new skill point.


The Event "EVENT_SKILL_POINTS_CHANGED" is probably not the right event ... it will not be fired when the player gets a new point.
  Reply With Quote
02/15/19, 03:21 PM   #2
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 2,279
This event will be fired if one of the following skill points change reason appears:

Code:
h5. SkillPointReason
* SKILL_POINT_CHANGE_REASON_ACHIEVEMENT
* SKILL_POINT_CHANGE_REASON_ACHIEVEMENT_COMPONENT
* SKILL_POINT_CHANGE_REASON_ACTION
* SKILL_POINT_CHANGE_REASON_AVA_RANK_UP
* SKILL_POINT_CHANGE_REASON_CHAMPION_RANK_UP
* SKILL_POINT_CHANGE_REASON_IGNORE
* SKILL_POINT_CHANGE_REASON_INITIALIZE
* SKILL_POINT_CHANGE_REASON_LEVEL_UP
* SKILL_POINT_CHANGE_REASON_OTHER
* SKILL_POINT_CHANGE_REASON_PURCHASE
* SKILL_POINT_CHANGE_REASON_QUEST_REWARD
* SKILL_POINT_CHANGE_REASON_SKILL_RESET
* SKILL_POINT_CHANGE_REASON_SKILL_RESPEC
So this should be fired if you get a new skill point. But probably not as you invest skill points into an ability.

I think you should look into this event:

Code:
* EVENT_ABILITY_PROGRESSION_RESULT (*[AbilityProgressionResult|#AbilityProgressionResult]* _reason_)
The abilityProgressionResult can be one of these:
Code:
h5. AbilityProgressionResult
* ABILITY_PROGRESSION_RESULT_ABILITY_NOT_KNOWN
* ABILITY_PROGRESSION_RESULT_INVALID_LINE
* ABILITY_PROGRESSION_RESULT_MORPH_CHOSEN
* ABILITY_PROGRESSION_RESULT_MORPH_NOT_CHOSEN
* ABILITY_PROGRESSION_RESULT_NOT_ENOUGH_MONEY
* ABILITY_PROGRESSION_RESULT_NOT_HIGH_ENOUGH_LEVEL
* ABILITY_PROGRESSION_RESULT_NO_MORE_UPGRADES
* ABILITY_PROGRESSION_RESULT_NO_SKILL_POINTS
* ABILITY_PROGRESSION_RESULT_NO_VALID_UPGRADE
* ABILITY_PROGRESSION_RESULT_SUCCESS
* ABILITY_PROGRESSION_RESULT_TOO_LOW_LEVEL
ABILITY_PROGRESSION_RESULT_SUCCESS should be fired as parameter in this event if the skill change was done, I guess.
Or maybe also morph_chosen.

Last edited by Baertram : 02/15/19 at 03:25 PM.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Event for tracking Skill-point changes

Thread Tools
Display Modes

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