[XP] How to Make an Actor to Enemy Stat Conversion Script?

nazra7

Warper
Member
Joined
Nov 10, 2016
Messages
1
Reaction score
0
First Language
English
Primarily Uses
Hello everyone, I am currently working on a commercial project, a Tactical RPG similar to Final Fantasy Tactics with RPG Maker XP. And I would like some help creating an event script command which takes the values of a specified Actor's stats, after adding stats from equipment, and applies the same values of the 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!
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,047
Messages
1,018,540
Members
137,834
Latest member
EverNoir
Top