Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: Iyanga
Forum: General Authoring Discussion 04/24/14, 04:28 PM
Replies: 8
Views: 7,825
Posted By Iyanga
You can't check for "not( 2, nil, 2)" because 2,...

You can't check for "not( 2, nil, 2)" because 2, nil, 2 is a valid combination, too.

A solo achievement or the first achievement of the line returns a 0 to GetPrev(). As far as I can tell, you need...
Forum: General Authoring Discussion 04/24/14, 08:49 AM
Replies: 8
Views: 7,825
Posted By Iyanga
So, regarding your addon you need to...

So, regarding your addon you need to change

local categoryTopLevelIndex = GetCategoryInfoFromAchievementId(achId)

into something more complex:
- Get the PreviousAchievementInLine()
- If it's not 0,...
Forum: General Authoring Discussion 04/24/14, 08:25 AM
Replies: 8
Views: 7,825
Posted By Iyanga
Playing around it seems to work like this: All...

Playing around it seems to work like this:

All achievements have an achievementId.

Only the actually achieved achievement has a category though!

Using GetPreviousAchievementInLine() and...
Forum: General Authoring Discussion 04/24/14, 06:55 AM
Replies: 8
Views: 7,825
Posted By Iyanga
Well, if you read it as...

Well, if you read it as GetPreviousCompletedAchievementInLine it is consistent behavior.
How does GetNextAchievementInLine() react? If it also only returns completed achievements, the behavior is...
Showing results 1 to 4 of 4