Hi Gil,
sorry to bother you with something that simple, but I am trying for several hours already, unable to find out what is the API command to add a specific combatant to active player group. I was checking your API list and trying following variants:
ORK.Game.ActiveGroup.Leader.Group.Join(27, true, true);
I was experimenting with combatant name instead of 27 and several variants... (27 is the number of combatant in our list)
Can you please help me out here?
Thank you very much in advance,
SaVe
So, the code for this would be:
Combatant combatant = ORK.Combatants.Create(id, ORK.Game.ActiveGroup);
combatant.Init();
id would be the ID/index of the combatant.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!