edited July 2024 in Makinom Scripting
Hello.
Now I have tried to show the status of the characters.
I can show the status about active members.
but I don't know how to show the status after leaving from member or before member.


image

after leaving from the member for a while, the character will come back soon.
but while the character is leaving, the status is null because it is not the active member.
how can I show the status??

how can I change it??
ORK.Game.ActiveGroup.GetMember(ORK.Combatants.Get(i))

I wrote my script like this.
// To show the level of character
for (int i = 0; i <= 30; i++)
{
var member = ORK.Game.ActiveGroup.GetMember(ORK.Combatants.Get(i));
if (member != null)
{
LevelNumber[i] = member.Level.ToString();
}
else
{
Debug.Log("Unable to display level because character does not exist");
}
}</blockquote>

I hope you let me know about it.
I'm sorry to bother you all the time.
Post edited by YoungA_Cha on
  • edited July 2024
    You can use this to get all inactive members of the player group:
    List<Combatant> inactive = ORK.Game.ActiveGroup.GetInactiveGroup();

    There's currently no way to display those as part of a HUD or menu, though.
    An alternative could be to transfer them to a 2nd player group with a different player group ID.
    Post edited by gamingislove on
    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!
  • Thank you for your kind and fast reply.
    I have solved the problem!!
    amazing!!

    I will do my best to make the game.
    have a nice week!!
Sign In or Register to comment.