On Sat, Aug 30, 2008 at 10:43:24PM -0700, S'orlok Reaves wrote:
>
> > Hmmm... what about the case where somebody writes a
> > line with a ${} code
> > in it that expans and makes the line too long. Is
> > there any reasonable
> > way to handle that case at run-time rather than
> > edit-time?
>
> The OHRRPGCE FMF handles this by dyanmically expanding
> text boxes at run time, and caching the word-wrapped
> text.
I like the way the FMF handles it, except that attempts to do indenting
fall flat
> In addition, the ${} variables are also cached, so
> that the cached copy can be re-generated if the ${}
> changes (e.g., the party leader changes, etc.)
>
> So far, there's no performance slowdown from this.
>
> -->Seth
Hmmm... so if the value of a ${} code changes when the box is being
displayed, the box changes? That is nifty if the box is being used for
some special plotscripting purpose, but I could see it being a bug for
non-scripted usages.
Suppose you have a hero in slot 1 and nobody in slot 0. You talk to an
NPC represetning a hero who will join you. A textbox is displayed with
the leader saying something, but should the name of the leader be the
name of the leader who was leading when the text box was opened, or the
name of the new hero who got put in the leader slot by a fluke of the
party lineup?
---
James
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org