How do I make calls like this with the Steam Object?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I have been conversing with a support person on Valve for checking if achievements are unlocked in my new game on Steam and I got the answer that I should do some calls to check if achievements are unlocked:

    "You should however be able to setup the callback for OnAchievementsStored() and that will be called when the achievement is unlocked during playback in Steam. If you can get that callback then you can assume the rest of the Steam pieces (library, popup, etc.) will work."

    How do I make these callbacks with the Fusion Steam Object?

    Steam games: Please login to see this link.

  • I have never tried the SteamWorks object yet, so I won't know for sure. But it sounds like all you need to do is to check if an achievement is unlocked.
    To do this, add a condition User Data -> Achievements -> On Achievement Unlocked
    If you put the name as empty, it will be true for all achievements.

    If this event will be true when you unlock an achievement then it should all work.

    There is also a way to loop through achievements, I guess it will loop through stored achievements.

    You can do: Start of frame: User Data -> Achievements -> Loop through achievements.

    Then you can make a condition: User Data -> Achievements -> On loop through achievements: Add line (list object) -> Last -> User Data -> Achievement name

    I haven't tested this, so you just have to test yourself and see if it works.

  • That's right - the Steamworks object handles all of those callbacks for you, so all you need to do is use the condition "On achievement unlocked" that Decal mentioned. Or if you're checking to see if a user has an achivement, rather than checking the instant it's unlocked, there's an action for that as well.

    There's an example in the Examples folder of the Steamworks object - you can plug your own AppID into it to interact with your game's achievements, I found it very useful for testing them.

    Please login to see this link.
    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!