Need some help with picking a random line from text.doc

Get help using Construct 2

Post » Wed Oct 19, 2016 3:15 am

Hi.

I have a project with AJAX/DICTIONARY calling random lines from a text document and now, depending on which line is displaying I would like to be able to select another line from another document and display, THIS PART I KNOW, I am having a hard time figuring out how to detect the random line displaying. Can anyone help?

http://www.geocities.ws/kikoriogames/Pi ... mLine.capx
B
19
S
4
G
2
Posts: 97
Reputation: 2,244

Post » Wed Oct 19, 2016 9:22 am

use variable
Image

PickRandom2Line.capx
Image
B
64
S
23
G
7
Posts: 1,483
Reputation: 10,827

Post » Wed Oct 19, 2016 1:39 pm

korbaach wrote:use variable
Image

PickRandom2Line.capx


Thank you so much, Korbaach. It works perfectly.

In the end it was so much more simple than what I had been trying. But I guess it takes cleverness and clarity of thought to achieve a good result like you did. I am getting there.

Thank you a lot!!!!!!!!!!
B
19
S
4
G
2
Posts: 97
Reputation: 2,244


Return to How do I....?

Who is online

Users browsing this forum: alextro, stevenode and 6 guests