Hi, what I am trying to do is little advanced for my current skills.
I am trying to make player choose actors to put in his party as a choice, but I wanted the player to have some infos about this actor so I am using SRD HUD Maker plugin to show some stats of the actor using this code:
Choice Index ID is variable40 and the + 10 is because the first actor I set ID is 10 and the first index ID is 0.
It worked fine as I want to but what I didn't thought about is actors who die in battle will not be showin in the choices using YEP_X_ExtMesPack1 plugin to hide the choice of dead Characters.
So if actor id 10 is dead and his choice is hidden, actor id11 name will take his place, it will still function right for picking the actor the player want to pick but it will show the stats of actor10 because the choice index still 0 + 10.
I have 2 ways to fix this problem, the first is to making the choice of dead party members disabled not hidden but because I am having 50 or even more party members I prefare to hide over disable the choice.
The second way is much better but not sure if it possible.
With a script I try to find the choice name, find if that name is the same of a party member name it get the actor id and put it in a variable (But thinking about it now even if this is possible, if player named 2 actors the same name there will be a problem.)
Now I also thought about doing choices with script call if there is a way to make each choice change variable when player hover on it.
Is there a way to do this?
I am trying to make player choose actors to put in his party as a choice, but I wanted the player to have some infos about this actor so I am using SRD HUD Maker plugin to show some stats of the actor using this code:
Choice Index ID is variable40 and the + 10 is because the first actor I set ID is 10 and the first index ID is 0.
It worked fine as I want to but what I didn't thought about is actors who die in battle will not be showin in the choices using YEP_X_ExtMesPack1 plugin to hide the choice of dead Characters.
So if actor id 10 is dead and his choice is hidden, actor id11 name will take his place, it will still function right for picking the actor the player want to pick but it will show the stats of actor10 because the choice index still 0 + 10.
I have 2 ways to fix this problem, the first is to making the choice of dead party members disabled not hidden but because I am having 50 or even more party members I prefare to hide over disable the choice.
The second way is much better but not sure if it possible.
With a script I try to find the choice name, find if that name is the same of a party member name it get the actor id and put it in a variable (But thinking about it now even if this is possible, if player named 2 actors the same name there will be a problem.)
Now I also thought about doing choices with script call if there is a way to make each choice change variable when player hover on it.
Is there a way to do this?