Two Random Results in One Textbox

ayoowaddup


I'm building me a nice little settlement and messing around with NPCs and their abilities and all...


demi-cutscenes, or whatever you call them. 


but I wanna do more.


I was checking here 




 to see if there was any code/script/black magic/tax return form I could use to get a specific result.


a textbox with two randomly obtained results.


I need: a random generator.


One or Two loose variables (giggity) that i can re-roll whenever I need.


a list of possible first results.


a list of possible second results.


an NPC/event that can be activated, which then does the following:


roll a random first result number, and print a first line in a textbox. then roll that variable or roll a new one, to print the second line in the textbox.


examples:


first possible results:


No matter what, 


You know,


My grandfather always told me 


second possible results:


there's no place like home.


life is like a box of chocolates.


if you can't beat them, arrange to have them beaten.


Does anybody know of a tutorial or youtube video or some code I could frankenrig to get something like that going?
you don't need a script or script call for this, that is pure eventing with two control variable commands on two variables and then a series of conditional branches for different show text commands.


I suggest you follow the link to the starting point in my signature and work through the "variables guide" as well as one of the eventing guides linked there.
... so they're all download links? :/


What's 'RTP' actually? is that shorthand for "resources" or something?


and i didn't know i can use conditionals inside text boxes. I knew i could use text boxes inside conditional - i've made a moral choice quest already using variables... but i'll try. 


rant : I'm somewhat apprehensive just downloading stuff off forums. this computer is brand new, cost me a lot of money... and i don't want it to be the third computer that ends up bricked from stuff that's 'harmless, brah'. 🙁  /rant


Oh! Found the random generator 🙂
In general, RTP is short for "Run Time Package" and is a way to transfer data for other programs.


But because that way has been used to distribute the resource packages for the different makers, in this community it has become a short name for the resources shipped together with the makers


And you misunderstood me - you can't use conditionals inside text boxes, you need to use different show text commands inside the conditional branches depending on the variable value checked by the conditional branch.


And downloads can never destroy a computer, even the worst virus around the internet can just cause the need for a format and reinstall of the system. That is a lot of work, yes, and it can cause data loss if you don't make backups, but you don't need to purchase a new computer if that happened.


And the variable guide game has been used by this community for a long time, it is not infected.
Backups in RMMV is just copying the folder, right?


I couldn't find a button for backups or even a "save as" button. 🙁

Original thread: https://forums.rpgmakerweb.com/threads/two-random-results-in-one-textbox.71608/