I would like to have a man quote me a random proverb every time I speak to him. It would be from a list of a hundred proverbs/wise sayings to keep things fresh everyday. Could someone be kind enough to give me some tips on how to do this.
Thankyou in advance
Timmy
Basically you could do that with control variables, conditional branch and show text.
The Control variable command has an option for a random number, have it create one between 1 and 100.
Then make a series of one hundred conditional branches, each checking the number and giving a different show text.
If you're willing to use a script, then you could use an array of text lines and the coding would be much simpler, without that many conditional branches.
However, in that case you would have to know enough about scripting to put the text into that array.
Would you find my Dialogue from File script (linked in my sig) helpful for this if I added an event command for getting a random line from an NPC's dialogue section rather than displaying the whole thing?
Thank you for your kind replys. It is good to know that the Control variable command has an option for a random number. Look forward to playing around with that.
Yes! Trihan. I would love to see an event command for getting a random line from an NPC's dialogue section. That would be a very useful tip. If you did not mind going to the trouble of linking it. Thank you.
Thank you very much GrandmaDeb. Fantastic!