It's possible read a .txt file and put yout data into an ar

Get help using Construct 2

Post » Sun Apr 10, 2016 2:21 am

I need to read a .txt file loaded by the user so that I can randomly select the words written by the same. It's possible?

The file will be in the following format:
wordOne;
wordTwo;
WordThree;
...
...

Thanks advance
B
5
S
1
Posts: 3
Reputation: 388

Post » Sun Apr 10, 2016 2:44 am

The AJAX plugin lets you load a file from the Project.
https://www.scirra.com/manual/107/ajax
ImageImageImage
B
71
S
21
G
232
Posts: 3,696
Reputation: 129,868

Post » Sun Apr 10, 2016 3:49 am

Also in conjunction with tokenat you will be able to do what you want.
Mistakes were made.
B
51
S
25
G
107
Posts: 1,581
Reputation: 60,458


Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi, Yahoo [Bot] and 22 guests