Hello I'm trying to make a battle game with combatant (player) vs combatant (other user using that user's saveData i,e not controlled by human).
So, the key is to create a combatant appropriately by using the save data of other users.
In this case, what should I do?
1. Create a combatant by passing the player's save data as an argument (Is this method available?)
2. By reading the save data properly (equipment, ability, etc.) After creating a combatant, initialize it through a variable (ex) combatant.equiment = savedata["equipment"][index] If I code like this, it will get too complicated.
That is, the scenario is There is a player combatant (myself), and I want to summon that user's combatant to my game by using the save data of the opponent playing the game. (For example, a puppet combatant that is not actually manipulated, but is made of data using load data)
It is a rpg pk system, but ai controls it. However, for equipment level, etc., I want to create a combatant based on data that other users have played on other devices.