Hello,
I have a little question, which is probably slightly stupid, but I spent all day writing things and now my brain is fried.
I am planning to let the player talk to a NPC and would like to store his answer to the NPC for later use since the outcome of the game will change according to it. Basically, if they tell the cyclops that their name is nobody, they will be able to escape unscatched later on, after the blinded him, while all other answers will lead to their death. I tried to orientate myself at the code for the introduction, so now it looks like this:
get input {
game.cycname = result
msg ("> " + game.cycname)
if (IsRegexMatch ("niemand", LCase (result))) {
}
else {
}
msg ("\"Aha...\", die Kreatur kratzt sich am Kopf, \"" + game.cycname + " sein nett. Vielleicht werde ich dich besonders zubereiten.\"")
}
But I have no idea, what I should put in the 'if' and 'else' brackets. Help would be very appreciated.
Best wishes,
Aerdureth