Stat Groups & Identities
You can get stat groups and stat identities through code at runtime. However, they cannot be created at runtime.
Stat Groups
Stat groups are used to group together stats that are meant for a similar purpose.
Getting All Groups
var myGroups = SkillTree.GetAllStatGroups();
Getting a Single Group
By Name
var myGroup = SkillTree.GetStatGroup("My Group Name");
By ID
var myGroup = SkillTree.GetStatGroup(0);
Stat Identities
A stat identity is a way to identify a stat and set general rules for it.
Getting All Stat Identities
var myStatIDs = SkillTree.GetAllStatIdentities();
From a Stat Group
You can access all stat identities in the group with the myStatGroup.statIdentities
field.
Getting a Single Stat Identity
By Name
var myStatID = SkillTree.GetStatIdentity("My Stat Name");
By ID
var myStatID = SkillTree.GetStatIdentity(0);
Last updated