How do I load an array with a pre-made list

Get help using Construct 2

Post » Sun Feb 21, 2016 1:00 am

Hello all,

Similar to my other question, but perhaps more concise in what i wish to do;

I was wondering if there is a way to get a pre-made list of words or dictionary i could find online into an array in construct two, without manually typing it in. Then my game could give the player a randomized index of that array which would contain a random word.

Thanks,

William
B
8
Posts: 25
Reputation: 356

Post » Sun Feb 21, 2016 1:57 pm

Here's an example of loading words from a file. You should be able to modify it to do what you want:
how-do-i-populate-a-list-from-a-text-file_p1015462?#p1015462
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,650

Post » Sun Feb 21, 2016 3:45 pm

Image
B
65
S
23
G
7
Posts: 1,502
Reputation: 10,890


Return to How do I....?

Who is online

Users browsing this forum: Rhindon, YoHoho and 24 guests