RMMZ Initialize actor when adding to the party with script calls

Status
Not open for further replies.

Rixxus

Veteran
Veteran
Joined
Oct 23, 2020
Messages
45
Reaction score
8
First Language
English
Primarily Uses
RMMZ
Hello!

I'm trying to find a way to force an actor to (re)initialize when adding them to the party.
In short, the player can tame monsters but once they die they are gone, and the player will need to catch another (with the same starting stats from the database).

It seems that it used to be possible to initialize from script calls when adding the actor to the party in older versions, as below.

1610637128404.png
Source: https://www.rpgmakercentral.com/topic/16151-actor-index-set/

Unfortunately, I cannot find anything about it for MZ. I'm hoping someone out there has some secret knowledge to help me.

This is the common event which adds the actor to the party.
1610636540280.png

And if it helps, this is the script that removes the actor/s from the party:
1610637327731.png

Any help is greatly appreciated!
 

Attachments

  • 1610636650442.png
    1610636650442.png
    14.2 KB · Views: 0

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
509
Reaction score
483
First Language
german
Primarily Uses
RMMZ
A good starting point is to look into Game_Interpreter, this tells you a lot ;)

Soulrender just typed the method when I was typing xD
 

Rixxus

Veteran
Veteran
Joined
Oct 23, 2020
Messages
45
Reaction score
8
First Language
English
Primarily Uses
RMMZ
A good starting point is to look into Game_Interpreter, this tells you a lot ;)

Soulrender just typed the method when I was typing xD
Haha. Thanks @Aerosys, I'll have a look at that. Still so much to learn :)
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
41,832
Reaction score
14,500
First Language
English
Primarily Uses
RMMV

Rixxus, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.



This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,918
Reaction score
8,848
First Language
English
Primarily Uses
RMMV
@Rixxus In regards to your report, double posting means making another post right after yourself when no one else has replied. You likely did it in this case as you were making multiple quotes.

You can add and respond to more than one quote in a post. Just select the +Quote button for each post before inserting them into the reply box. However, you don’t need to quote posts to reply. If you need to clarify who you are talking to, you can tag them using the @ symbol followed by their username as I’ve done here.
 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

too... many... ideas... can't... edit them down :dizzy:
Don't you love your work?
It's been half a month and I didn't give signs of life, not even in my website.

I've been studying about my project and I discovered something that I definitely think it will be better.

On the other hand, I still have to learn how to use it properly so I need time.
This catgirl name is Elyune.
Her hobby is cooking and eating sweets. She's also an alchemist.

Cat_girl.jpg
catgirl-1.jpg
Raptor Revolt Demo 4_10_2021 3_12_09 PM.png

Latest custom tileset work for RAPTOR REVOLT in this beach scene set in the acheroraptor capital in Ridge City, Hell Creek.

Forum statistics

Threads
110,286
Messages
1,051,977
Members
143,309
Latest member
Kiler123
Top