Stendhal Quest Coding - Part 2: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hendrik Brummermann |
imported>Hendrik Brummermann |
||
| Line 23: | Line 23: | ||
** ''no'': Oh, well forget it then. I guess I'll just hope for it to start raining, and then stand with my mouth open. |
** ''no'': Oh, well forget it then. I guess I'll just hope for it to start raining, and then stand with my mouth open. |
||
As a little exercise you can code this part to check whether you understood the [Stendhal Quest Coding|first part of this tutorial]. |
As a little exercise you can code this part to check whether you understood the [[Stendhal Quest Coding|first part of this tutorial]]. |
||
There is, however, a small problem with the current solution: There can only be one reply for "yes" and "no". So the NPC can only ask one single question in order to be able to process the answers. |
There is, however, a small problem with the current solution: There can only be one reply for "yes" and "no". So the NPC can only ask one single question in order to be able to process the answers. |
||