Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: Rilgamon
Forum: General Authoring Discussion 07-29-18, 12:04 PM
Replies: 9
Views: 3,901
Posted By Rilgamon
Perhaps you can add...

Perhaps you can add ADDON_LOADED/PLAYER_ENTERING_WORLD event to call your update function.
Your function calls might be triggered so early that they dont return the right value.

Edit: What I mean is...
Forum: General Authoring Discussion 07-29-18, 11:53 AM
Replies: 9
Views: 3,901
Posted By Rilgamon
Only one part (the first that returns true) of...

Only one part (the first that returns true) of your if/elsif construct will be handled.
Since your xp-bar is only touched when playerlevel is below max level it should never trigger on maxed...
Forum: General Authoring Discussion 07-29-18, 10:08 AM
Replies: 9
Views: 3,901
Posted By Rilgamon
if UnitLevel("player") < MAX_PLAYER_LEVEL Not...

if UnitLevel("player") < MAX_PLAYER_LEVEL
Not sure ... but MAX_PLAYER_LEVEL is still 110. So your xp is not triggered for maxed chars?
Showing results 1 to 3 of 3