Textbox editor

From OHRRPGCE-Wiki

Jump to: navigation, search

Image:Screenshot1.JPG

Contents

[edit] The Box

Type the message here. Each line may have up to 38 characters in it, and there are 8 lines. There is no automatic wordwrapping. Use Ctrl-Space to add a special character (as with any text field in Custom). There are special text strings defined below the box. If you use these in your text box, they will be replaced with the relevant text when the box is displayed in game. For example, typing "Hello, ${C1}." in the text box editor will be replaced with "Hello, (name of hero in caterpillar slot 1)." when playing the game. If the resultant line of text is too long, the end is cropped (no support for wordwrapping).

Image:custom_004.JPG

[edit] Conditionals

(These take place before the text box appears)

  • Show Instead (1 slot): Best used if the previously linked box had a choice to it. Alternatively, runs a script instead.

(These take place after the text box disappears)

  • Set Tag (2 slots): Sets a tag on or off.
  • Gain/Lose $ (1 slot): Changes how much $$ you have... better to plotscript this effect...
  • Fight formation (1 slot): Fight a preset formation. Often used for boss battles.
  • Add/remove Items (1 slot): Adds or removes an Item. Only does one item per box. Better to plotscript this effect...
  • Shop/Inn/restore (1 slot): Go to either an inn that costs x money, a predefined shop, or just restore HP/MP.
  • Hero Management (3 slots):
    • Add/Remove hero: Adds hero to party or Permanently deletes an instance of a hero.
    • Swap in/out: Simulates using the "Party" option in the in-game menu.
    • Lock/Unlock: Locks hero in/out of party, or unlocks locked hero.
  • Instant Door (1 slot): Instantly uses door x.
  • Run next: shows box X next. Alternatively, runs script Y next.

Image:custom_005.JPG

[edit] Choice

Two choices. One or both sets a tag. Best used if the very next box uses the "Show Instead box X" conditional.

Image:custom_006.JPG

[edit] Box Appearance

Position: Vertical placement of the textbox.

Shrink: Vertical size of the textbox.

Textcolor: Color of the text.

Bordercolor: Color of the Box itself.

Backdrop: What picture to show in back.

Music: What music to play while the box is shown.

Show Box: Is it the box and the word, or just the words?

Translucent: Toggles whether or not the box is halfway seethrough.

Restore Music: Restore the default background music after box is gone?

Image:custom_007.JPG

[edit] Next

Same as Run Next.

[edit] Text Search

Searches the textboxes (starting from the next one) for an instance of the text in question. If the end is reached, the search continues from the beginning. If no text is found, you stay on the current text box. The query is not case-sensitive.

Personal tools