Community Announcements

Welcome, Vive developers!


Do you want to post and interact on this forum? Send a PM to Rockjaw detailing what you're working on and you'll get access.

[Viveport SDK] Achievement progress?

Highlighted
Explorer

[Viveport SDK] Achievement progress?

Hi,

I wonder if the Achievement APIs can store the progress of achievements (for example, an achievement will be unlocked if you kiled 10 enemies, and the progress is the number of enemies  you killed)?

If the UserStats.SetAchievement only set the achievement as unlocked, does it means that I need to use another UserStats field to store the progress?  

And here is another question, what's the meaning of the returned int value for UserStats.SetAchievement ?

 

Thank you