Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

revive party memebers before you transfer to different map.

I would like to have the player have to revive his fallen party members before hes allowed to move on to a different map or location.

not sure how to set this up please help. I don't see any options that will read when a party member has fallen.

im using felcao pearl liquid abs style fighting.
 
I believe you can do this with conditional branches during transfer events! I'm on my laptop right now, so I can't test it, but tonight or tomorrow I'll take a look and see if I can answer this fully. :) And I'll see if I can figure out your other script problems you've posted while I'm working on it. ^^
 

Jason

Awesome Bro

I've not got VX Ace open at the mo so this won't all be accurate, but I imagine this could be done with a few variables, and a conditional branch...

For each party member, set a variable equal to their HP, and on the transfer event using a conditional branch, check your party members HP is above or equal to 1, and if it all is, let the transfer happen.

If that doesn't make sense, I'll open up VX Ace, make the events and take a screenshot for you.
 
You can also get around this without have to use variables. :3

Create this as a common event:


Basically, what I've done is started creating a chain of conditional branches based on whether each actor has the "Death" state. If the first actor doesn't have it, then there is another conditional branch under the "else" option of that conditional branch which checks for the next actor. If any of them are a yes, then it turns on a switch and then exits processing (if you experience any problems, try removing the "Exit Event Processing" command - I assume it would only exit the event that it's a part of, but it might exit all event processing, which you wouldn't want!). At the end of the conditional branches, in the last else, make sure you turn the switch off! Otherwise, if a party member is dead ever and the player tries to transfer, they'll be stuck.

Then, in your transfer events, use the "Call Common Event..." command, then create a conditional branch after that based on whether or not the switch is on. Putting it in a common event keeps you from having to copy/paste the huge chain of conditional branches. xD I would have given you a screenshot, but one of the limitations of VX Ace Lite Edition is that I can't call comment events with that command! If you have the full version, you can use it, though.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top