Hello everyone, So lets say i have a button called "random" and when you hit this button? it says "Hello welcome" and when i hit it again, it may say "Bye bye" or something else i wrote? Ofc i have made all the text, but i want to be able to make a button that takes out alot of random text that i made myself. Lets say i made 100 text lines, which means each text should have 1% chance to be shown. ? Is this possible?
@Vaga Games You want the text to show after a button press? Is there any other action other than the text appearing when the button is pressed?
I'm not sure if you could attach to a button press somehow but if you have 4 lines of text: 1) Use Action objects with solid backgrounds (not label widget). 2) Stack them on top of each other 3) Set "Appearance Chance" of top image to 25%, next to %50, then 75% then 100%. Each message then should have a 25% chance of showing.
Yes after button presses. No, only the text. I will try this thanks! But i would like to have like more than 100 text if possible. But ill try this
For 100 you would use 1%, 2%, 3% ... 100%. If you wanted more then just divide 100 by the total to get the percent to add each time. But I wouldn't use it for more than a few messages as it would be time consuming to setup. But you certainly could experiment with the idea.
Thanks, didnt think about that... Well yes time consuming indeed. But its something alot people in my country want! So thanks!