Import or preset array data?

Get help using Construct 2

Post » Sun Nov 13, 2011 10:55 pm

Is there a way to preset values in an array? I'm trying out a menu driven game that will be text heavy, and arrays seem to be the best way to organize dialogue and statistics, but there doesn't seem to be a good way to fill in the array without a giant "On start of layout" action with a jillion Set(X,Y) commands. If there's a way where I could copy/paste or even directly import an XLS or CSV file, things would go a lot faster.

Thanks for any ideas/suggetions.
B
2
G
2
Posts: 5
Reputation: 1,120

Post » Sun Nov 13, 2011 11:09 pm

What about this CSV plugin HERE. May be of use to you.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,844
Reputation: 48,289

Post » Mon Nov 14, 2011 12:49 am

Close, that gets me almost all the way. The CSV plugin uses Comma-separated values, so I can't use any sentences with commas. Is there a % code that I could use instead of commas in my text?
B
2
G
2
Posts: 5
Reputation: 1,120

Post » Mon Nov 14, 2011 12:35 pm

Nevermind, Rex showed me how to get around that problem.
B
2
G
2
Posts: 5
Reputation: 1,120


Return to How do I....?

Who is online

Users browsing this forum: Kagubro and 27 guests