edited October 2014 in ORK Scripting
Been combing through the API docs but haven't found it yet, figured I'd just ask. Is there a property to reference or a function to call to get the current turn number of a running battle? I'm trying to build some funky skill abilities for the player party that change behavior based on what turn they're used.

I could hack this together with some player object variables that count up on turn usage and reset on battle start, but I thought if there was already an API call in place that would be a little nicer and less prone to me forgetting what I was doing months down the road. :)
Post edited by Firrerreo on
My little chunk of the internet: http://artemic.com
  • The battle itself doesn't have a turn number - it's tied to combatants and can be accessed through combatant.Turn. This how-to covers getting a combatant from a game object.
    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!
  • Thanks! I was totally looking in the wrong classes. :)
    My little chunk of the internet: http://artemic.com
  • The next update will bring new event and formula steps to make use of a combatant's turn number :)
    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.