Removing party members when mana hits 0.

KawaiiKid

Veteran
Veteran
Joined
Oct 13, 2015
Messages
151
Reaction score
38
First Language
English
Primarily Uses
As it stands, I have 8 parallel processes running in common events at all times to get this to work, and it's really bogging my system down.
I was wondering if any of you could make this into a script instead? I'm currently learning Javascript, but I don't have the knowledge to do it myself at the moment (lacking a lot of terms for in game stuff as well). Hopefully I can also read the end product of this, and it will help me learn more about the code.


Basically what I have is a system that removes party members from your party when their mana hits 0, (mana in this game is used as a different resource) and prints on screen "[Name of actor] has succumbed to madness." This not only removes them, but also turns on a switch so that an event in town can be triggered, allowing them to rejoin your party once you return to the main hub.
If Actor 1 loses all his mana, he is teleported back to the main hub.


If anyone could write this for me, I'd really appreciate it. It would not only help my game run much smoother, but it would also greatly improve my knowledge of scripting in general.


Thanks for your consideration! Please let me know if you need any more details ^ ^

 
 

Sekunri

Creator of Worlds
Veteran
Joined
Jan 12, 2014
Messages
132
Reaction score
75
First Language
English
Primarily Uses
RMMV
I'll look into this. Doesn't sound too hard but I'll want all the specifics.


Basically if mp = 0 you want them to "succumb to madness" then be removed from the party and turning on a switch for them to rejoin.
How will they join? Cutscene, just join once you return. So on?
 

KawaiiKid

Veteran
Veteran
Joined
Oct 13, 2015
Messages
151
Reaction score
38
First Language
English
Primarily Uses
I'll look into this. Doesn't sound too hard but I'll want all the specifics.


Basically if mp = 0 you want them to "succumb to madness" then be removed from the party and turning on a switch for them to rejoin.
How will they join? Cutscene, just join once you return. So on?


The switch will make an event in town active. That event will be their character sprite, and once you talk to them they will rejoin your party. That part is easy enough for me, I just need the JS to turn on the switch since I don't know how > <
 

Sekunri

Creator of Worlds
Veteran
Joined
Jan 12, 2014
Messages
132
Reaction score
75
First Language
English
Primarily Uses
RMMV
Alright. I'll see what can be done.
 

Sekunri

Creator of Worlds
Veteran
Joined
Jan 12, 2014
Messages
132
Reaction score
75
First Language
English
Primarily Uses
RMMV
Plugin should be completed tomorrow. Since it's personalized to your specific game I'll probably just message it to you.
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

On my journey of character rework: I had this character, she was meant to be just a princess that joins your party. And at long term she was just uninteresting... So I tweaked her to be a rebel agaisn't the royalty before meeting up with the party.

Quick tip for any other ametuer pixel artists! When trying to create a colour palette, enabling Antialiasing can speed up the process of creating different shades! Just place your lightest colour and your darkest colour next to each other, select both pixels, and stretch it out!
Revolutionizing the JRPG Industry: Knocking on Doors.

Take that, murderhobos.
Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.

Forum statistics

Threads
106,054
Messages
1,018,580
Members
137,843
Latest member
Betwixt000
Top