Making an Inn heal only alive party members

Lonelywraith

The Storyteller of Woe
Veteran
Joined
May 5, 2015
Messages
54
Reaction score
5
First Language
Spanish
Primarily Uses
RMVXA
Hey, I wanted to know if there was a way to make the inns heal alive party members without resurrecting dead ones and I don't think I can do it with the "Change HP..." option. Do you have any idea of how could I make it?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
You would have to have a script call to go through the alive members, or do a series of conditional branches for every actor to see if they're in the party and they're alive.
 

Makio-Kuta

Canadian Goose
Veteran
Joined
Jul 28, 2012
Messages
1,910
Reaction score
2,364
First Language
English
Primarily Uses
I'm not at a computer right now so I can't double check, but if you can set a conditional branch to check if a character has the 'dead' state on them, give that branch an else statement and heal them fully in the else statement (since that will be the condition of NOT having the state) You'd have to do that for each character individually, so make it in a common event and then just call that common event on your inn events.


this should work providing there's a conditional branch to check a character's state, but I'm pretty sure there is.
 

Lonelywraith

The Storyteller of Woe
Veteran
Joined
May 5, 2015
Messages
54
Reaction score
5
First Language
Spanish
Primarily Uses
RMVXA
Hi, guys! Thank you for your answers. I'm not a nice scripter (I just know how to plug a script over Main Process, tehehe), but Makio's answer seemed to work so thanks to both of you  :D
 

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,981
Members
137,563
Latest member
cexojow
Top