Save Point Help

Hello everyone.


I am trying to make a save point event--a statue that gives players the ability to save their game and to heal their party if they chose to.


I can make the event just fine...except for the part concerning the healing/recovery of the party. I want to set it up so that the party needs to pay in TP in order to make use of the healing. The thing is, I don't know how to event it so that the statue can check whether the player has enough TP to purchase healing. Can anyone help me with this? Thank you.


BTW, I'm making use of MV in this game project.
You can check for a specific TP Value of a certain actor with the Script Call:


$gameActors.actor(n).tp < X


in a conditinal branch, other then this i dont have a idea how you would go about that without the help of some plugins.

Spoiler
FuOekhI.png
You can check for a specific TP Value of a certain actor with the Script Call:


$gameActors.actor(n).tp < X


in a conditinal branch, other then this i dont have a idea how you would go about that without the help of some plugins.

Spoiler
FuOekhI.png



Thanks. It works like a charm.


But how can I incorporate this in a party setup? Like, what if the actor declared in the call script isn't available (eg. Like when returning to a dungeon when one of the party member has already left and that party member happens to be the one declared in the call script)?

Original thread: https://forums.rpgmakerweb.com/threads/save-point-help.56620/