What's the best way to get a combatant's list of Status Values (and content for each attribute)?
  • You can access a combatant's status values via combatant.Status[index], index is the index of the status value in the editor.
    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!
  • Is there a way to get the whole list so I can cycle through it or do I have to input manually each index?
  • Not directly, but you can cycle through them like this:
    for(int i=0; i<ORK.StatusValues.Count; i++)
    {
    StatusValue status = combatant.Status[i];
    }
    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!
  • That did the trick, thank you Nicholas! :)
Sign In or Register to comment.