Re: Parsing a Die Roll string
CK,
I will send you to morrow morning a slightly modified die_roller plus my
include file that does the parsing. I'd like to test it more tonight, but
seems to work as expected.
Q1: Are you insisting on using Highest instead of H, or Lowest rather than L?
I'm not sure that "3Highest2" is clearer than "3H2".
Q2: I'm missing the whole point of a separate EditText1 coupled to list_Dice.
I'd make more sense out of an editable dropdown list (say list_Dice), where
you can enter new custom roll strings as well as previously entered ones.
Currently, you can't even copy from list_Dice to paste into EditText1, which
would be a poor man's alternative. Could you explain your plan?
Perhaps you'd like to save the data in list_Dice to a .ini file so that it
becomes persistent?
I intend to upload the include file to the archive once you torture-test it a
bit more than I, as this tool is versatile enough to help other Eu game
developers as well.
CChris
|
Not Categorized, Please Help
|
|