Hi!
We are working with this new feature (tense and viewpoint) in 6L02.
Here the ‘problem’:
In spanish, the natural form to say:
report jumping rule response (A) is "[Tu] [saltas] en el sitio." [[We] [jump] on the spot.]
Is: (for present tense)
1PS: "Salto en el sitio."
2PS: "Saltas en el sitio."
3PS: "Él salta en el sitio."
i.e. the pronouns for 1P (“Yo”) and 2P (“Tu”) are not necessary (we can use them, but the text will not be ‘natural’). Just print the verb in those cases. And the same with plural cases.
We can write the ‘To say Tu’ code that just print nothing for 1P and 2P. But the problem is :how can I print (in those cases) the next word (the verb) with first letter in upper case?
For now, we use Text Capture by Eric Eve to manipulate the final text before print it.
Something like:
[spoiler][code]report jumping rule response (A) is “[Tu] [saltas] en el sitio.[FLU]” [[We] [jump] on the spot.]
to say FLU:[first char in upper case]
stop capturing text;
say “[captured text]” in sentence case.
To say Tu:
now the prior named object is the player;[ object’s identity is a value stored in “prior named object”]
if the story viewpoint is first person singular:
start capturing text;
if the story viewpoint is second person singular:
start capturing text;
if the story viewpoint is third person singular:
if the player is male:
say “Él”;
otherwise:
say “Ella”;
if the story viewpoint is first person plural:
start capturing text;
if the story viewpoint is second person plural:
start capturing text;
if the story viewpoint is third person plural:
if the player is male:
say “Ellos”;
otherwise:
say “Ellas”.
[/code][/spoiler]
But perhaps there is another (built-in easy) way to do this stuf.
Any suggestions?
Thanx in advance.
INFSP Team