How would one go about accessing/changing variables stored in the ORK framework through a script, simply finding a certain variable in the database without attaching it to the specific object? For instance, finding the health of combatant #3 in the framework?
Post edited by PersimmonSquares on
  • Depends on what you want to access ... e.g. in your example, there is a difference between just accessing the settings of combatants with ID 3 or an actual instance of that combatant.

    For getting access to settings, you'd use code like this:
    CombatantSetting setting = ORK.Combatants.Get(3);
    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!
Sign In or Register to comment.