Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to add "clear steam achievement" support #240

Open
NoSoul8 opened this issue Aug 2, 2019 · 4 comments
Open

Request to add "clear steam achievement" support #240

NoSoul8 opened this issue Aug 2, 2019 · 4 comments

Comments

@NoSoul8
Copy link

NoSoul8 commented Aug 2, 2019

Would you kindly add "Deactivate achievement" action? It is often used for testing and debugging steam achievements, especially with tricky conditions to trigger. So if something goes wrong (e.g. achievement gets activated, although it should not) we have an option to quickly drop achievement, make amends to events and try again. Super useful near release, while polishing Steam stuff before sending a build to moderation.

My request may be related to #23

@MikalDev
Copy link
Contributor

MikalDev commented Aug 2, 2019

FYI it may not be exactly what you want, but I use the ClearStats function for that in testing (the function clears stats AND achievements, but not individual achievements.) it would be nice to have something that clears individual achievements.

@NoSoul8
Copy link
Author

NoSoul8 commented Aug 2, 2019

Yes, clearing individual achievement is what i need most of steam features.
For testing and retesting.

@MikalDev
Copy link
Contributor

I was about to start work on this, but it looks like it's already there? Have you tried the below?

greenworks.clearAchievement(achievement, success_callback, [error_callback])
achievement String - The achievement needs to be cleared
success_callback Function()
error_callback Function(err)

@MikalDev
Copy link
Contributor

FYI - I forgot I had used this in the past in my Construct 3 Greengrinds plugin. It works for me in my test app with Electron.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants