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
22
G
259
Posts: 3,794
Reputation: 143,704

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
54
S
28
G
115
Posts: 1,705
Reputation: 65,083


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 28 guests