Hello everyone, I am making a commercial Tactical RPG similar to Final Fantasy Tactics with RPG Maker XP and I would like some help creating a script which takes the values of a specified Actor's stats, after adding stats from equipment, and applies the same values of stats to a specified Enemy's stats using the Event Script Command. This way, I can simulate enemies having levels and wearing equipment. For example, using the event's script command to convert Actor #5's stats to the stats of Enemy #10 in the Database, I think it would look something like this:
enemy[10].maxhp = actor[5].maxhp
enemy[10].maxsp = actor[5].maxsp
enemy[10].hp = actor[5].sp
enemy[10].sp = actor[5].sp
enemy[10].str = actor[5].str
enemy[10].dex = actor[5].dex
enemy[10].agi = actor[5].agi
enemy[10].int = actor[5].int
enemy[10].atk = actor[5].atk
enemy[10].pdef = actor[5].pdef
enemy[10].mdef = actor[5].mdef
enemy[10].eva = actor[5].eva
But I know that's not going to work because it doesn't use the correct script codes. However, I'm hoping it will be about as simple in structure. I just need to know what the right script codes are for this... Does anyone here, who's much better at scripting, know what script codes I need to use in order to pull this off? Please let me know, I'd GREATLY appreciate it! And thanks a ton in advance!
enemy[10].maxhp = actor[5].maxhp
enemy[10].maxsp = actor[5].maxsp
enemy[10].hp = actor[5].sp
enemy[10].sp = actor[5].sp
enemy[10].str = actor[5].str
enemy[10].dex = actor[5].dex
enemy[10].agi = actor[5].agi
enemy[10].int = actor[5].int
enemy[10].atk = actor[5].atk
enemy[10].pdef = actor[5].pdef
enemy[10].mdef = actor[5].mdef
enemy[10].eva = actor[5].eva
But I know that's not going to work because it doesn't use the correct script codes. However, I'm hoping it will be about as simple in structure. I just need to know what the right script codes are for this... Does anyone here, who's much better at scripting, know what script codes I need to use in order to pull this off? Please let me know, I'd GREATLY appreciate it! And thanks a ton in advance!