How do I prevent a hero in the reserve party from appearing in the team menu?

From OHRRPGCE-Wiki

Jump to: navigation, search

You need to make your main hero (or a hero friend) to leave the party because the player has to control another important characters? You don't want the player to see that the hero was on the reserve party? Then, read carefully what follows!

All you need to do is swap out and then lock the hero. A hero who is swapped out and locked is invisible in the team menu

[edit] Using Text Boxes

Go to the Textbox editor, and then edit the Text Box Conditionals for the text box where the hero leaves your party. Set the hero to be swapped out and locked.

Remember, if you only have a single hero in the party, you must add a second hero before you can swap the first hero out.

[edit] Using a Script

If you want to swap several heroes at one time, or if you are already using a plotscript, you may find it easier to use plotscripting commands to swap out and lock the hero instead of text boxes. Here is a simple example:

swap out hero (hero:Yorgo)
lock hero (hero:Yorgo)

Please note that :

  • If you forget the swap out command, you will just prevent your hero moving from your active party to your reserve
  • It's mainly useful when heroes won't be there for a (very long) time.
  • Note that you can't have more that 41 heroes at a time total, including both active and reserve heroes. (This limit is imposed by memory restrictions)
  • Once the commands have been executed, Yorgo will not appear is the reserve party (and also obviously not in the party)

To add the hero back to the party later,

unlock hero (hero:Yorgo)
swap in hero (hero:Yorgo)

Note that during all this time the other heroes have gained levels whereas Yorgo has still the stats and the equipment he had when he left the party. (In the reserve party all the heroes stats and equipment are saved.)

[edit] See Also

Personal tools