List<Combatant> battleGroup = ORK.Game.ActiveGroup.GetBattle(); This will get you a list of all combatants in the player's battle group - e.g. battleGroup.Count will give you the number of battle members.
You can access all combatants that are currently available via ORK.Game.Combatants, e.g. to get all enemy combatants (not dead and currently in battle): List<Combatant> enemies = ORK.Game.Combatants.Get(ORK.Game.ActiveGroup.Leader, false, null, Consider.Yes, Consider.No, Consider.Yes, null);
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!
This gives you access to the current class (settings): combatant.Class.Current Or the ID of the current class: combatant.Class.ID
Generally, combatant.Class has all class related information/access :)
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!
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!
List<Combatant> battleGroup = ORK.Game.ActiveGroup.GetBattle();
This will get you a list of all combatants in the player's battle group - e.g. battleGroup.Count will give you the number of battle members.
You can access all combatants that are currently available via ORK.Game.Combatants, e.g. to get all enemy combatants (not dead and currently in battle):
List<Combatant> enemies = ORK.Game.Combatants.Get(ORK.Game.ActiveGroup.Leader, false, null, Consider.Yes, Consider.No, Consider.Yes, null);
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I've got another question, how can i access the class of a combatant?
Something like:
combatant.Class.Current
Or the ID of the current class:
combatant.Class.ID
Generally, combatant.Class has all class related information/access :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
How can i get the name of a status value, something like
combatant.Status[i].Setting.GetName()
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!