Removing last actor

OmnisScio

Veteran
Veteran
Joined
Oct 26, 2015
Messages
43
Reaction score
2
First Language
English
I am using the removeActor() function to remove an actor from the party during a battle. 


It works fine on all actors except the last one on the list, however long the list is. 


If there are three actors in the party, and I removeActor() the third actor, the actor disappears, but their name/hp/mp doesn't and the game hangs. It will not move to the next turn. 


If there are four actors, third actor removes just fine now, but the fourth causes the hang. 


I am using the following plugins:


YEP_coreengine


YEP_baseparamcontrol


YEP_battleenginecore


YEP_buffsstatescore


YEP_targetcore


YEP_X_selectcontrol


YEP_skillcore


YEP_autopassivestates


my own plugin that I made


Edit: I know specifically which plugin is causing the problem now. It is the battle engine core. If I turn it off, I can remove the last actor. 


Unfortunately I need that plugin, so getting rid of it is simply not an option.
 
Last edited by a moderator:

Skotty TV

Veteran
Veteran
Joined
Nov 4, 2015
Messages
98
Reaction score
177
First Language
German, English
Primarily Uses
All Actor Data inside the YEP_battleenginecore will set up at battle start.


When you remove an Actor after the battle start the info will still be there.


Just tell me at which point you execute the removeActor and i can help you.. i hope :p  
 

OmnisScio

Veteran
Veteran
Joined
Oct 26, 2015
Messages
43
Reaction score
2
First Language
English
I have a skill that can be executed during battle that will remove the actor. It works fine on actors in the battle, except the last one (bottom of the screen). 


More specifically, when the move is executed, a function that I made in my own plugin is called through one of yanflys' lunatic mode tags.


The <post damage eval> tag because the move can miss.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,975
Members
137,563
Latest member
cexojow
Top