I'm trying to set up Steam Achievements for my game. All of the things that I want to check are kept track of in the game by ork game variables (whether or not certain scenes have been done, how many times you've beaten the game, what endings you've done, etc). But I need to check them in a C# script. Can I do that and what's the correct syntax for checking them?
  • edited November 2019
    You can access global variables via ORK.Game.Variables, offering various functions to get, set or change values, e.g. getting a bool variable:

    bool value = ORK.Game.Variables.GetBool("key");
    Post edited by gamingislove on
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Awesome! Thank you!
  • Is there a list of those functions somewhere I can check out?
  • Yes, in the API - check out the variable handler here.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you so much!
Sign In or Register to comment.