Reset a specific actor's data(level,skills,equips,exp,etc.) by script call

Tobiasu

Wizman
Member
Joined
Aug 10, 2014
Messages
13
Reaction score
5
First Language
English
Primarily Uses
hello guys!
I know there's a script call:
$game_actors = Game_Actors.new
that can reset their settings in actor's database
but this script call resets all actor's data
I just wondering if it's possible to reset a specific actors only
thanks!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,489
Reaction score
8,136
First Language
German
Primarily Uses
RMMV
Usually that is done with the change member event command.

Initialize means resetting all data on that actor in adding it (checkbox)
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,101
Reaction score
14,635
First Language
English
Primarily Uses
RMMV
$game_actors = Game_Actors.new is not "resetting" actor data. It is removing all the actors from your party. When you add them back again, they get added with the database settings.

Use Andar's method unless you NEED to do it via a script call.
 

Tobiasu

Wizman
Member
Joined
Aug 10, 2014
Messages
13
Reaction score
5
First Language
English
Primarily Uses
yeah! that's what I'm talking about!
I want to remove a member in my party
then when they join again, they will only have
their settings in database.

instead of doing this:
Untitled.jpg
...which their current equips and learned skills are carried over when they joined my party again.

is there a script call that can revert their setting in the database for a specific actor only?
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,101
Reaction score
14,635
First Language
English
Primarily Uses
RMMV
Why are you looking for a script call? Andar has already told you how to do it, and I have confirmed that his method is correct.

The Change Party Member command will let you add the actor back to your party, and if you check the Initialize box, they will have all the stats from the database, not from when they were last in your party.

I see no reason at all for you to be looking for a script call for this.


Also - holy cow, that's a lot of common events to add/remove party members. Why do you have so many? What are you trying to achieve with so many common events, and they're all fairly complicated too. I think you are going about things the hard way.
 

Tobiasu

Wizman
Member
Joined
Aug 10, 2014
Messages
13
Reaction score
5
First Language
English
Primarily Uses
silly me!
I didn't take attention on that check box and I didn't know that
it is the function of it!

I'm trying to make Etrian Odyssey remake
which you can create your own guild
they have 16 member slots,
7 classes then 9 later, and 2 male and female portraits.
I duplicate 16 actors for each so there's a total
of 448 actors in all.

well, thanks for your time!
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,101
Reaction score
14,635
First Language
English
Primarily Uses
RMMV
If you can have 16 members, then you only need 16 actors. You can use the Change Actor Class, Change Actor Images (Sprites/Graphics?), Change Actor Name to apply any of the 7 + 9 classes and genders on those 16 actors.
 

Tobiasu

Wizman
Member
Joined
Aug 10, 2014
Messages
13
Reaction score
5
First Language
English
Primarily Uses
yeah! I'm thinking that method as well but
I installed a script which show the actors portrait in status
that placed in pictures folder named Actor1,Actor2...and so on
which corresponds their actor ID. It's a Japanese script.
but after a little review on that script yesterday,
I realized that there's a script call that can change
the actors picture in status menu
now, I can do it with 16 actors only.
thanks!
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,101
Reaction score
14,635
First Language
English
Primarily Uses
RMMV
You've got a lot of work to change it all around, but I think as you get further into the game, you'll find it easier than if you kept on with the first method.
 

Latest Threads

Latest Profile Posts

Daz3D has the weirdest number scheme for model generations...
Genesis 4 is the 4th generation and oldest currently available, Genesis 1 is the 5th generation, Genesis 2 is the 6th, 3 is the 7th.... And then it goes Genesis 8. So 4, 1, 2, 3, 8. So when looking through there store you have to remember that sometimes they'll say 6 but they mean 3, and vice versa. :kaoswt:
Would opening a topic with the tutorial be interesting?

Forum statistics

Threads
111,115
Messages
1,058,409
Members
144,333
Latest member
EziliumIshin
Top