ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   Event for tracking Skill-point changes (https://www.esoui.com/forums/showthread.php?t=8339)

Baumkuchen3 02/15/19 12:23 PM

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.

Baertram 02/15/19 03:21 PM

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.

yduocxanh.richardson01 01/16/20 10:16 PM

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

OK


All times are GMT -6. The time now is 04:45 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI