Basically, I want certain actions to be a mistake only when a
particular action is occurring, instead of defining the action and
using a check rule. That is, of course, an option, and it's how I had
it working in the first place, but I thought the "understand as
mistake" functionality might be a bit cleaner.
For instance, I have three commands that do nothing but invoke a "say"
phrase (similar to the Taking Inventory action).
[code]
To say credits:
some code.
To say player stats:
some code.
To say player skills:
some code.
Understand "credits" as a mistake ("[credits]").
Understand "stats" or "st" as a mistake ("[player stats]").
Understand "skills" or "sk" as a mistake ("[player skills]").
[/code]
But then I would also like the following:
[code]
Understand "stats" or "st" as a mistake during El Sceno Numero Uno
("You twiddle your thumbs.").
Understand "skills" or "sk" as a mistake ("You twiddle your thumbs.")
during El Sceno Numero Uno.
[/code]
Neither of the above work. And if this isn't possible, no problem, I
can obviously do it by defining an action. I'm just trying to figure
out if I had dreamt up the ability to use conditional mistakes, or
what.
You can, but the conditional part doesn't accept "during SCENE" for
some reason. You can say:
Understand "stats" or "st" as a mistake ("You twiddle your thumbs.")
when El Sceno Numero Uno is happening.
--Z
--
"And Aholibamah bare Jeush, and Jaalam, and Korah: these were the borogoves..."
*
Ah ha! Thank you. I don't know why I didn't try that - it's funny,
because I usually use "is happening" as a preference to "during" in
most of my code but for some reason switched here AND didn't think to
try the other syntax.
Thanks, Andrew.